Open zhending111 opened 10 months ago
You need to run convert_coco2ytvis.py to generate these files.
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!
You need to make sure that the coco/annotations/ folder exists and prepare the coco and ytvis19 original datasets.
I don’t need to prepare the json file in the coco folder, right?your work is great,I will quote!
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.
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?
coco2ytvis2019_train.json