Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update function #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update function #15

wants to merge 1 commit into from

Conversation

Shanlans
Copy link

@Shanlans Shanlans commented Dec 6, 2018

If one mask file contain several same class area. This modification can fix the problem

If one mask file contain several same class area. This modification can fix the problem
@Shanlans
Copy link
Author

Shanlans commented Dec 6, 2018

I think if we generate the single class annotation files from mask file of each image, it will have some problem. I need to calculate the distance and any other information to apart each item which belongs to the same class from the current class layer ( the mask already was one hot operation). I think this case your code doesn't support. So I did some little change. Please check it, I am so glad to get some feedback from you.

@solauky
Copy link

solauky commented Nov 18, 2019

Hello, there is a problem with this update: when an uncommented image appears, the error is "TypeError: 'NoneType' object is not iterable".Annotation_info, segmentation_id = create_annotation_info(segmentation_id, image_id, category_info, binary_mask, image.size, tolerance=2), none will be returned to annotation_info, segmentation_id at the same time.

@solauky
Copy link

solauky commented Nov 20, 2019

Another problem is area. The same class shares a total area

1 similar comment
@solauky
Copy link

solauky commented Nov 20, 2019

Another problem is area. The same class shares a total area

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants