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

where coco2ytvis2019_train.json? #27

Open
zhending111 opened this issue Jan 16, 2024 · 6 comments
Open

where coco2ytvis2019_train.json? #27

zhending111 opened this issue Jan 16, 2024 · 6 comments

Comments

@zhending111
Copy link

coco2ytvis2019_train.json

@zhang-tao-whu
Copy link
Owner

You need to run convert_coco2ytvis.py
to generate these files.

@zhending111
Copy link
Author

but I run it,got error:No such file or directory: coco/annotations/coco2ytvis2019_train.json'
I find in code:os.path.join(_root, "coco/annotations/coco2ytvis2019_train.json"), "COCO to YTVIS 2019:"),
should i prepare it?Thanks!

@zhang-tao-whu
Copy link
Owner

You need to make sure that the coco/annotations/ folder exists and prepare the coco and ytvis19 original datasets.

@zhending111
Copy link
Author

I don’t need to prepare the json file in the coco folder, right?your work is great,I will quote!

@zhang-tao-whu
Copy link
Owner

Thank you very much! Yes. coco2ytvis2019_train.json is automatically generated by convert_coco2ytvis.py based on the annotations from both COCO and ytvis19 datasets.

@fbragman
Copy link

fbragman commented Mar 14, 2024

Hi @zhang-tao-whu

Just a quick question on annotations - in ytvis_2019, I have annotations for validation in valid/Annotations but my valid.json file downloaded from the server does not have annotations any. I cannot compute AP/AR locally. So the following is False despite valid/Annotations existing

self._do_evaluation = "annotations" in self._ytvis_api.dataset

Is there a way to recreate the json file to also point to the annotations? I guess these were recently released since prior you could only validate on CodeLab?

Also, I am just wondering for code development and prototyping of your model, what is the best practice since validation of OVIS/YTVIS2019-2021 is only performed on the CodeLab server.

Do you create a train/val split from the train.json file? How did you evaluate model performance to ensure it was working?

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

No branches or pull requests

3 participants