跑faster rcnn测试时遇到错误Attribute Error: 'NoneType' object has no attribute 'astype'
2017-11-27 10:52
786 查看
如题,用自己的数据集跑faster rcnn的测试demo的时候遇到这样的错误:Attribute Error: 'NoneType' object has no attribute 'astype',最后发现错误原因是demo文档里测试图片的名字误写了。出现同样错误的同学,建议检查demo文档里,测试图片的名字是否写错,尤其是扩展名。。。比如我就是把.jpeg写成了.jepg。
相关文章推荐
- Flask:报AttributeError: 'NoneType' object has no attribute 'metadata'错误
- Ubuntu16.04上启动Spyder出现错误AttributeError: 'module' object has no attribute '_base'
- 关于Srapy框架运行的错误AttributeError: 'module' object has no attribute 'OP_NO_TLSv1_1'
- pycharm install python packaging tools时遇到AttributeError: '_NamespacePath' object has no attribute 'sort'错误
- python图像处理问题AttributeError: 'NoneType' object has no attribute 'shape'
- Sentry AttributeError: 'NoneType' object has no attribute 'connection_pool'
- Django错误:AttributeError: 'WSGIRequest' object has no attribute 'Post'
- Python3下错误AttributeError: ‘dict’ object has no attribute’iteritems‘的分析与解决
- python机器学习实战3.2提示错误AttributeError: type object 'str' has no attribute '_name_'
- python 提示错误AttributeError: type object 'str' has no attribute '_name_'
- AttributeError: 'NoneType' object has no attribute 'recovery'
- AttributeError: 'NoneType' object has no attribute 'execute' 错误的解决
- python错误:AttributeError: 'module' object has no attribute 'setdefaultencoding'问题的解决方法
- 用python爬github上星级排名前列的项目报错AttributeError: 'NoneType' object has no attribute 'decode'
- ansible安装遇到"AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'"的问题
- python 错误解析 AttributeError: 'module' object has no attribute 'dumps'
- Python: Attribute Error - 'NoneType' object has no attribute 'something'
- Python报错之:AttributeError: 'NoneType' object has no attribute 'seq'
- AttributeError: 'NoneType' object has no attribute 'sc' 解决方法!
- python错误:AttributeError: 'module' object has no attribute 'setdefaultencoding'问题的解决方法