2024-06-16 13:35:59 发布
网友
AttributeError:“非类型”对象没有属性“aType”出现在文件../lib/fast\u rcnn/test.py第35行的\u get\u image\u blob中
im_orig=im.astype(np.float32,copy=True)
存在AttributeError:“NoneType”对象没有属性“astype”
解决方案:检查图像路径并进行纠正或通过绝对图像路径
例如:
filepath = os.path.join('/media/user/dataset/Coco 2014/test2014/', item['file_name'])
解决方案:检查图像路径并进行纠正或通过绝对图像路径
例如:
相关问题 更多 >
编程相关推荐