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

Convert annotations of OpenImages to COCO format #2

Open
LitPrice opened this issue Mar 8, 2021 · 9 comments
Open

Convert annotations of OpenImages to COCO format #2

LitPrice opened this issue Mar 8, 2021 · 9 comments
Labels
documentation Improvements or additions to documentation

Comments

@LitPrice
Copy link

LitPrice commented Mar 8, 2021

Hi Xingyi,

Thanks for you wonderful and easy to use work! I have prepare OpenImages dataset.

However, when I use projects/UniDet/tools/convert_datasets/convert_oid.py to convert training annotations.

There is an error:
sets train
converting train data
Traceback (most recent call last):
File "projects/UniDet/tools/convert_datasets/convert_oid.py", line 276, in
original_image_annotations = csvread(os.path.join(base_dir, 'annotations', image_label_sourcefile))
NameError: name 'image_label_sourcefile' is not defined

'image_label_sourcefile' is not defined when converting training annotations, I don't know how to solve it?
Could you give me the solution?
Thanks

@LitPrice LitPrice added the documentation Improvements or additions to documentation label Mar 8, 2021
@LitPrice
Copy link
Author

LitPrice commented Mar 8, 2021

There are not train_sizes-00000-of-00001.csv and validation_sizes-00000-of-00001.csv.
How can I get them?

@Lancelot365
Copy link

Yes I have found the same problem.
Luckily I have already converted OI to COCO format previously.

@LigZhong
Copy link

LigZhong commented Jun 2, 2021

I also encounter this problem. Need some help, Thanks.

@FuNian788
Copy link

Same problem and need help

@FuNian788
Copy link

some mistakes in Dataset.md

  1. 'For your convenience, we have packed up all converted annotation files here.' but the annotation files link is False
  2. python tools/convert_datasets/convert_oid.py -p datasets/oid/ --subsets val --expand_label,but codes can not run without 'challenge-2019-validation-detection-human-imagelabels_expanded.csv' which is not provided.
    We thank for your open source repo, but three are too many bugs to reproduce. Hope fix

@jiangzhengkai
Copy link

@xingyizhou meet same questions. Could you help to fix above issues?

@scale14091618
Copy link

Is there any solution to this problem yet?

@doem97
Copy link

doem97 commented Dec 6, 2022

Yes I have found the same problem. Luckily I have already converted OI to COCO format previously.

Hi bro how you make through this? May you please show us how to convert

@wikiwen
Copy link

wikiwen commented Dec 15, 2022

same problem @xingyizhou

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

8 participants