Source code and data for paper Referring Expression Generation via Visual Dialogue
- yaml
- NLTK
- h5py
- json
- TensorboardX
- Java1.8.0
- Python3.6
- PyTorch 1.1
- Image: Download from COCO_train2014
- ReferWhat?! append only dialog: Download from ReferWhat_dataset, and save into
/datafolder. - instances.json: Download from refcoco/refcoco+
cd code/prepare
- image:
python extract_feats.py --dataset refcoco --cnn resnet152 --image_root path_fo_COCO_image --data_root ../../data/ - dataset:
python load_VD_data.py --path ../../data/refcoco/unc_split
- Step1: modify the config file in code/config
- Step2:
python main.py
python Gen_eval.py