yangxuntu / vrd

two models for visual relationship detection
94 stars 28 forks source link

生成vrd_roidb.npz时出现 'list' object has no attribute 'keys'问题 #18

Open CaiWenhui opened 4 years ago

CaiWenhui commented 4 years ago

我使用的tf1.3, python2.7出现问题 /home/vcl/vtranse/process/vrd_pred_process.py in () 25 with open(file_path_use,'r') as f: 26 data=json.load(f) ---> 27 image_name = data.keys() 28 len_img = len(image_name) 29 t = 0

AttributeError: 'list' object has no attribute 'keys'

有遇到类似的问题吗

CaiWenhui commented 4 years ago

问题已解决,博主给的JSON链接不是该程序的,正确的链接是这个http://cs.stanford.edu/people/ranjaykrishna/vrd/json_dataset.zip

sxswwm commented 3 years ago

上面的斯坦福链接打不开,用这个 https://drive.google.com/drive/folders/1V8q2i2gHUpSAXTY4Mf6k06WHDVn6MXQ7

onexs commented 2 years ago

你好,请问有论文中所述的VG数据集的子数据集相关的json文件可供下载吗