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 is SeqTR/refcoco-unc/instances_cocofied_train.json? #11

Open
PhoenixZ810 opened this issue Dec 13, 2023 · 5 comments
Open

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

PhoenixZ810 opened this issue Dec 13, 2023 · 5 comments

Comments

@PhoenixZ810
Copy link

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.

@shenyunhang
Copy link
Owner

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
Copy link
Author

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

@shenyunhang
Copy link
Owner

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

@PhoenixZ810
Copy link
Author

图片
category_id < num_classes, how to fix this?

@shenyunhang
Copy link
Owner

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.

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

2 participants