shenyunhang / APE

[CVPR 2024] Aligning and Prompting Everything All at Once for Universal Visual Perception
https://arxiv.org/abs/2312.02153
Apache License 2.0
459 stars 28 forks source link

Where is SeqTR/refcoco-unc/instances_cocofied_train.json? #11

Open PhoenixZ810 opened 6 months ago

PhoenixZ810 commented 6 months ago

When I try to evaluate on ref coco, there is an error: FileNotFoundError: [Errno 2] No such file or directory: 'datasets/SeqTR/refcoco-unc/instances_cocofied_val.json' Where can I find SeqTR/refcoco-unc/instances_cocofied_train.json? This file is not in the preprocessed directory _refcocounc.

shenyunhang commented 6 months ago

I have updated the README for dataset preparation and the corresponding tools. Please refer here to generate datasets/SeqTR/refcoco-unc/instances_cocofied_val.json and some others.

PhoenixZ810 commented 6 months ago

I find refcoco-unc in tools/seqtr2coco/convert_mix_ref.py : 图片 but it's not in refcoco data structure: 图片

shenyunhang commented 6 months ago

You are right. I have updated the data structure. refcoco-unc is needed and downloaded from SeqTR.

PhoenixZ810 commented 6 months ago

图片 category_id < num_classes, how to fix this?

shenyunhang commented 6 months ago

The class IDs are filled during the inference process at here and here. It should make sure that one of the above codes is used when inferring a registered dataset.