Wrote by Rowan Zellers and adapted from Danfei Xu.
Follow the folling steps to get the dataset set up.
- Download the VG images part1 part2. Extract these images to a file and link to them in
config.py
(eg. currently I haveVG_IMAGES=data/visual_genome/VG_100K
). - Download the VG metadata. I recommend extracting it to this directory (e.g.
data/stanford_filtered/image_data.json
), or you can edit the path inconfig.py
. - Download the scene graphs and extract them to
data/stanford_filtered/VG-SGG.h5
- Download the scene graph dataset metadata and extract it to
data/stanford_filtered/VG-SGG-dicts.json