我使用的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'
有遇到类似的问题吗
我使用的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'
有遇到类似的问题吗