-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[Datumaro] VOC export does not export annotations #942
Comments
I suppose the issue with empty annotations is that |
@zhiltsov-max i tested again with a VOC label. I simply created a new task with one image and one label. This time I used the Person label without any additional annotations. But the same problem persists. I expected the output of the dataset export to have the same annotations as the dump annotation feature exports. My current workaround is to export the data and folder structure via dataset export and then dump the annotations and rename them accordingly. |
For the current label list check this file, labels are tested for exact match. Could you describe your use case for the modified label set? It would be great to make the export more useful. |
Thanks. It works for me as expected when use the lower case voc labels. My use case is that I have a dataset with custom labels that I want to convert to tfrecords. For me the easiest way was to first create a voc style dataset structure and export that to tfrecords with the scripts provided by the tensorflow object detection api. Is there a reason why the exporter works only with the original labels? I think that for other custom datasets a more general export would be beneficial as well. I encountered a couple of projects that require the trainings data in voc style. |
@BenjiSchlotter, have you tried to use |
yes I tried that. But I always get an error during export:
I will make a seperate issue for that. |
@BenjiSchlotter , we had the problem but it was fixed in the latest develop branch. Could you please try again? |
@nmanovic, it looks like another problem |
Dumping the annotations as Pascal VOC Zip results in a zip file with xml files that look like that:
Exporting the dataset as pascal voc results in xml files that look like:
I tested it on a task containing a single image with one bounding box as annotation.
Tested on Commit: 310ee37
I am grateful for any help regarding this problem.
The text was updated successfully, but these errors were encountered: