datumaro icon indicating copy to clipboard operation
datumaro copied to clipboard

Include Empty Annotation Files in YOLO Importer

Open daxatino opened this issue 1 year ago • 3 comments

Description: In the current implementation of Datumaro's YOLO importer, empty annotation files are skipped during the import process.

I am working with video data. Images without annotations are still essential parts of the sequence and should be included in the dataset. Excluding them disrupts the sequence.

In Datumaro, why are empty YOLO annotation skipped, instead of included? I see for other data formats, such as Pascal COCO, this is not the case. Should we modify the code's behavior?

daxatino avatar Nov 17 '25 15:11 daxatino

@JortBergfeld @AlbertvanHouten Can you please take a look at this issue and provide your input?

jgespino avatar Nov 19 '25 18:11 jgespino

This issue has been inactive for a while. I wanted to check in and see if this is still relevant or if it can be closed. If the issue has been resolved or is no longer relevant, we can go ahead and close it. We'll close this in 7 days if there's no response.

jgespino avatar Feb 11 '26 21:02 jgespino

This seems to be an inconsistency within datumaro indeed, empty annotations should be included. Feel free to open a PR to address the issue.

AlbertvanHouten avatar Feb 12 '26 08:02 AlbertvanHouten