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

loading with empty annotations #210

Merged
merged 4 commits into from
Dec 4, 2024

Conversation

JSabadin
Copy link
Contributor

@JSabadin JSabadin commented Nov 27, 2024

Feature: Support for Images Without Annotations

This update adds support for loading images without annotations. When no annotations are present, empty arrays are initialized for each task (e.g., segmentation, bounding boxes, keypoints, and classification).

Please note that loading non-annotated images is only supported for basic tasks such as segmentation, classification, boundingbox, and keypoints. It is not supported for custom tasks.

@JSabadin JSabadin requested a review from a team as a code owner November 27, 2024 05:50
@JSabadin JSabadin requested review from kozlov721, klemen1999, tersekmatija and conorsim and removed request for a team November 27, 2024 05:50
@github-actions github-actions bot added the enhancement New feature or request label Nov 27, 2024
Copy link

codecov bot commented Nov 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.40%. Comparing base (6bcbb11) to head (1fe1a3d).
Report is 21 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #210      +/-   ##
==========================================
+ Coverage   92.33%   92.40%   +0.07%     
==========================================
  Files          79       79              
  Lines        4161     4307     +146     
==========================================
+ Hits         3842     3980     +138     
- Misses        319      327       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@kozlov721 kozlov721 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but please add tests for a dataset without labels.

@JSabadin
Copy link
Contributor Author

@klemen1999 @kozlov721 Please note that loading non-annotated images is only supported for basic tasks such as segmentation, classification, boundingbox, and keypoints. It is not supported for custom tasks.

@klemen1999 klemen1999 merged commit 99fa917 into main Dec 4, 2024
12 checks passed
@klemen1999 klemen1999 deleted the feat/support-training-with-no-annotations branch December 4, 2024 08:29
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

Successfully merging this pull request may close these issues.

3 participants