-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
When labelling larger datasets with SAM, occasionally I realize after I have already started drawing the bounding box, that the start point was incorrect. Out of a reflex, I then hit the Esc button to abort, so I can start drawing a new box without having to wait for unnecessary SAM segmentation.
Unfortunately, this leads to the following error, after which the program crashes:
Traceback (most recent call last):
File "C:\Users\wienh\VSCode\digitalsreeni-image-annotator\src\digitalsreeni_image_annotator\image_label.py", line 754, in mouseReleaseEvent
self.sam_bbox[2] = pos[0]
~~~~~~~~~~~~~^^^
TypeError: 'NoneType' object does not support item assignment
This will lead to losing all annotations since last saving / export.
Metadata
Metadata
Assignees
Labels
No labels