forked from open-edge-platform/datumaro
-
Notifications
You must be signed in to change notification settings - Fork 23
Report the annotation indices or line numbers on import failures in YOLO formats #74
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
It would be nice to report the annotation or line numbers in
datumaro/src/datumaro/plugins/yolo_format/extractor.py
Lines 287 to 293 in 1175180
| for line in lines: | |
| try: | |
| annotations.append( | |
| self._load_one_annotation(line.split(), image_height, image_width) | |
| ) | |
| except Exception as e: | |
| self._ctx.error_policy.report_annotation_error(e, item_id=item_id) |
Originally posted by @zhiltsov-max in #70 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request