wjn922 / ReferFormer

[CVPR2022] Official Implementation of ReferFormer
Apache License 2.0
320 stars 25 forks source link

Question of Pretraining on RefCOCO/+/g train/val.json #10

Closed YRlin-12 closed 2 years ago

YRlin-12 commented 2 years ago

Hi! So glad that you released the pretrain code on Refcoco Datasets. And, in datasets/refexp.py Line 168/169, you divided original json files into train/val splits. However, I download json files on refer. They use many different mode like 'unc', 'berkeley','google'. So, could you please share your json files of RefCOCO/+/g train/val.json?

Thanks a lot!

wjn922 commented 2 years ago

Hi,

We have provided the data conversion file tools/data/convert_refexp_to_coco.py for converting the refcoco annotation files to coco json format. And they can be processed by the dataloader in datasets/refexp.py.

YRlin-12 commented 2 years ago

thank you~