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

COCO 2017 Panoptic Segmentation Val Dataset (Datumaro format) Import Error #8404

Open
2 tasks done
sailfish009 opened this issue Sep 5, 2024 · 1 comment
Open
2 tasks done
Labels
bug Something isn't working

Comments

@sailfish009
Copy link

sailfish009 commented Sep 5, 2024

Actions before raising this issue

  • I searched the existing issues and did not find anything similar.
  • I read/searched the docs

Steps to Reproduce

prepared for COCO2017 Panoptic Segmentation Valid Dataset

http://images.cocodataset.org/zips/val2017.zip

http://images.cocodataset.org/annotations/panoptic_annotations_trainval2017.zip

  1. datum convert -i /COCO2017/ -o ./OUTPUT -f datumaro # val2017.json
  2. copy ./OUTPUT/annotations/val2017.json /COCO2017/annotations/
  3. mv /COCO2017/annotations/panoptic2017* ./OUTPUT/
  4. zip -r dataset.zip /COCO2017 # tried many times!
  5. create project COCO_PANOPTIC and import dataset.zip with datumaro dataset format
  6. error "No media data found"
    #  cvat/cvat/apps/engine/task.py : line 271
    if unique_entries == 0 and multiple_entries == 0:
        raise ValueError('No media data found')

Expected Behavior

I haven't seen any opensource annotation tools that support panoptic segmentation,
so I'm not sure how it would work.

Possible Solution

Using a commercial annotation tool is probably the best way to go.

Context

I want to use a panoptic segmentation dataset in an open source annotation tool.
I saw the documentation that CVAT can import the Datumaro format, so I thought it was worth a try.

Environment

No response

@zhiltsov-max
Copy link
Contributor

Hi, here is an example of the supported file layout: https://github.com/cvat-ai/datumaro/tree/develop/tests/assets/coco_dataset/coco_panoptic. Format documentation is here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants