Open CaiWenhui opened 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'
有遇到类似的问题吗
问题已解决,博主给的JSON链接不是该程序的,正确的链接是这个http://cs.stanford.edu/people/ranjaykrishna/vrd/json_dataset.zip
上面的斯坦福链接打不开,用这个 https://drive.google.com/drive/folders/1V8q2i2gHUpSAXTY4Mf6k06WHDVn6MXQ7
你好,请问有论文中所述的VG数据集的子数据集相关的json文件可供下载吗
我使用的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'
有遇到类似的问题吗