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

Extra annotations #33

Open
konstantin-frolov opened this issue May 21, 2020 · 1 comment
Open

Extra annotations #33

konstantin-frolov opened this issue May 21, 2020 · 1 comment

Comments

@konstantin-frolov
Copy link

Hi guys, does anyone have a problem adding extra annotations for some images?
Extra annotations

@konstantin-frolov
Copy link
Author

I found a solution:
If you use mask names such as <img_id> _ <class_name> _ <annotation_id>
The filter_for_annotations function tries to find all annotations for each <img_id>, but the search works by the prefix <img_id> and img_ids 1, 10, 11, 12, etc., which are perceived as the same.
On line 208 you need to change to file_name_prefix = basename_no_extension + '_.*'
Then search would works by prefix <img_id>_

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

No branches or pull requests

1 participant