APE icon indicating copy to clipboard operation
APE copied to clipboard

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

Open PhoenixZ810 opened this issue 1 year ago • 5 comments

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 refcoco_unc.

PhoenixZ810 avatar Dec 13 '23 12:12 PhoenixZ810

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.

shenyunhang avatar Dec 14 '23 03:12 shenyunhang

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

PhoenixZ810 avatar Dec 14 '23 07:12 PhoenixZ810

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

shenyunhang avatar Dec 14 '23 08:12 shenyunhang

图片 category_id < num_classes, how to fix this?

PhoenixZ810 avatar Dec 15 '23 04:12 PhoenixZ810

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.

shenyunhang avatar Dec 16 '23 11:12 shenyunhang