im_sizes.append(cv2.imread(data_root + im).shape[:2])
报错 AttributeError: ‘NoneType’ object has no attribute ‘shape’
解决方法:考虑可能是图片路径有误
im_sizes.append(cv2.imread(data_root + im).shape[:2])
报错 AttributeError: ‘NoneType’ object has no attribute ‘shape’
解决方法:考虑可能是图片路径有误