I found a solution:
If you use mask names such as _ _
The filter_for_annotations function tries to find all annotations for each , but the search works by the prefix 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>_
Hi guys, does anyone have a problem adding extra annotations for some images?![Extra annotations](https://user-images.githubusercontent.com/44438924/82554825-505a6d00-9b6f-11ea-81ba-d0d1d2cc59b6.PNG)