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

XML annotation dump skips unlabelled images #1350

Closed
mashrurmorshed opened this issue Apr 2, 2020 · 2 comments
Closed

XML annotation dump skips unlabelled images #1350

mashrurmorshed opened this issue Apr 2, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@mashrurmorshed
Copy link

Hello. After annotating, I use CVAT's dumped XML for tfrecord generation. However, it seems that if an image is unannotated, it is ignored in the XML and subsequently is skipped from my tfrecord. While I have a workaround (collect all image name; if name is not present in xml add a blank tag), I was wondering if there was a way where the dumped xml also includes those images without any annotation.

@zhiltsov-max zhiltsov-max added the enhancement New feature or request label Apr 17, 2020
@zhiltsov-max
Copy link
Contributor

Hello. This behaviour is intended. It cannot be done directly from CVAT UI, however, it can be done with Datumaro like this:

# export Datumaro project in CVAT UI
# unzip & change dir
datum project export -f cvat

@mashrurmorshed
Copy link
Author

Alright thanks a lot.

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