question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Datumaro] VOC export does not export annotations

See original GitHub issue

Dumping the annotations as Pascal VOC Zip results in a zip file with xml files that look like that:

<annotation>
    <folder></folder>
    <filename>888.jpg</filename>
    <path></path>
    <source>
        <database>Unknown</database>
    </source>
    <size>
        <width>1920</width>
        <height>1080</height>
        <depth>3</depth>
    </size>
    <segmented>0</segmented>
    <object>
        <name>Blub</name>
        <pose>Unspecified</pose>
        <truncated>0</truncated>
        <difficult>0</difficult>
        <bndbox>
            <xmin>1484.83984375</xmin>
            <ymin>496.052734375</ymin>
            <xmax>1510.2798442840576</xmax>
            <ymax>518.972734451294</ymax>
        </bndbox>
    </object>
</annotation>

Exporting the dataset as pascal voc results in xml files that look like:

<annotation>
  <folder></folder>
  <filename>0.jpg</filename>
  <size>
    <width>1920</width>
    <height>1080</height>
    <depth>3</depth>
  </size>
</annotation>

I tested it on a task containing a single image with one bounding box as annotation.

Tested on Commit: 310ee37b

I am grateful for any help regarding this problem.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
zhiltsov-maxcommented, Dec 12, 2019

I suppose the issue with empty annotations is that Blub is not a VOC label, so it was skipped. What would be the expected output? The same as in annotations export?

0reactions
zhiltsov-maxcommented, Dec 17, 2019

@nmanovic, it looks like another problem

Read more comments on GitHub >

github_iconTop Results From Across the Web

docs/user_manual.md · ApulisPlatform/datumaro - Gitee.com
Export project. This command exports a Project as a dataset in some format. Supported formats are listed in the command help. Check extending...
Read more >
opencv-cvat/public - Gitter
I am using old cvat version , there is no option to export dataset as images how can i export dataset( images and...
Read more >
datumaro - PyPI
Dataset Management Framework (Datumaro) ... A framework and CLI tool to build, transform, and analyze datasets. VOC dataset ---> Annotation tool + /...
Read more >
Computer Vision Annotation Tool (CVAT) - 2022 Overview
CVAT stands for Computer Vision Annotation Tool; it is a free, open-source digital ... CVAT for a video (interpolation); Datumaro (only export); PASCAL...
Read more >
Deep Learning Guide: Choosing Your Data Annotation Tool
Final annotation files can only be exported in a limited number of formats: COCO ... CVAT; Datumaro; Pascal VOC (xmls); Segmentation masks for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found