- Python 2.7
- Pytorch 0.4
- CUDA 9.0
Please first refer to MattNet to prepare related data.
All pre-trained models and related data can be downloaded here.
Apart from the triads generated by the parsing mechasnism, we also provide the human-annotated triads for all queries for future works, whihc can be downloaded here.
python ./tools/prepro_rel.py --dataset refcoco --splitBy unc
python ./tools/train.py --dataset refcoco --splitBy unc --exp_id 1
python ./eval.py --dataset refcoco --splitBy unc --split val --id 1