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

Report the annotation indices or line numbers on import failures in YOLO formats #74

Open
zhiltsov-max opened this issue Dec 31, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@zhiltsov-max
Copy link
Collaborator

zhiltsov-max commented Dec 31, 2024

It would be nice to report the annotation or line numbers in

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)
to simplify troubleshooting for users. Currently only item id and the specific import problem is being reported.

Originally posted by @zhiltsov-max in #70 (comment)

@zhiltsov-max zhiltsov-max added the enhancement New feature or request label Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants