如题,用自己的数据集跑faster rcnn的测试demo的时候遇到这样的错误:Attribute Error: 'NoneType' object has no attribute 'astype',最后发现错误原因是demo文档里测试图片的名字误写了。出现同样错误的同学,建议检查demo文档里,测试图片的名字是否写错,尤其是扩展名。。。比如我就是把.jpeg写成了.jepg。

跑faster rcnn测试时遇到错误Attribute Error: 'NoneType' object has no attribute 'astype'相关推荐

  1. 图片格式导致的报错:Attribute Error: ‘NoneType‘ object has no attribute ‘astype‘ 解决方案

    原因: (也可能是没加入mask的原因) 解决关键:验证数据集中的照片格式是否正确 出错的原因: 数据集中所有的照片虽然都是.jpg格式的,但是有的照片没有进行转码,只是更改了后缀,因此在模型加载的时 ...

  2. Pywinauto 应用后端类型选择错误:AttributeError: ‘NoneType‘ object has no attribute ‘backend‘. 原因及解决办法

    AttributeError: 'NoneType' object has no attribute 'backend'. 错误原因: 选择的应用后端类型不对. windows 上应用的后端类型有两种 ...

  3. GDAL error: ‘NoneType‘ object has no attribute ‘GetGeoTransform‘

    问题代码 前段时间写了个小程序,功能是读取工作文件夹下固定年份/月份的tiff文件,其对应年份/月份的参数地图的均值,但是报错'NoneType' object has no attribute 'G ...

  4. Python suds error “'NoneType' object has no attribute 'promotePrefixes'”

    然后重新装: pip install suds-jurko 转载于:https://www.cnblogs.com/caoqh/p/10595343.html

  5. Tensorrt7: AttributeError: ‘NoneType‘ object has no attribute ‘create_execution_context‘

    对于错误: AttributeError: 'NoneType' object has no attribute 'create_execution_context' 在engine前添加以下两行 l ...

  6. Android项目运行junit测试类时出现错误Internal Error (classFileParser.cpp:3494)的解决办法...

    以前的项目运行好好的,升级了ADT后,进行junit测试时出现错误: # # A fatal error has been detected by the Java Runtime Environme ...

  7. Python 中 AttributeError: ‘NoneType‘ object has no attribute ‘X‘ 错误

    文章目录 AttributeError: 'NoneType' object has no attribute 'X' 介绍 AttributeError: 'NoneType' object has ...

  8. CMake编译VS工程,生成解决方案时遇到错误:error MSB3073: 命令“setlocal”

    一.问题描述 CMake编译ZXing-cpp,编译成功后,打开项目,x86(win32)平台生成解决方案成功,但在x64平台,debug模式下报错:error MSB3073: 命令"se ...

  9. 安装vs2008中文时出现错误Write error in the file

    安装vs2008中文时出现错误Write error in the file VS2008TeamSuite90DayTrialCHSX1429243.iso. Probably the disk i ...

最新文章

  1. 【转】android电池(四):电池 电量计(MAX17040)驱动分析篇
  2. 【面试题】C语言:模拟实现memcmp,试比较memcmp与strcmp,strncmp的区别
  3. boost::detail::sp_typeinfo用法实例
  4. 在一台电脑上运行两个或多个tomcat
  5. php 数组 定义 遍历,php针对数组的定义、遍历及删除
  6. 保存时间 默认_操作技能|WORD文档没保存,有办法恢复吗?
  7. 黑马公开课——运行原理与GC学习笔记
  8. python写斗地主游戏_python编程斗地主 python编程入门
  9. 软媒魔方 v6.2.1.0 绿色纯净版及经典版
  10. 微信小程序-map地图标签的初级使用, 拥有图标,气泡,地图本身无法缩放移动需要点击跳转第三方地图平台
  11. 手把手教你用Execel求解一个矩阵的逆矩阵
  12. UE4 C++ 通过Spline绘制任意道路
  13. java中的match函数_js 正则表达式中的match函数
  14. 酒趣与酒情:聊聊酒吧和酒馆的不同
  15. 博世BOSCH EDI DESADV发货通知详解
  16. 达梦数据库disql工具使用
  17. C# 如何实现千位分隔符(三位分隔)
  18. Linux虚拟机ping百度时From IP icmp_seq=1 Destination Host Unreachable解决办法
  19. A Survey on Neural Network Interpretability (神经网络的可解释性研究综述)
  20. web前端技术练习题

热门文章

  1. boost::spirit模块从不同序列中元素的解析输入填充单个融合序列
  2. boost::gil::num_channels用法的测试程序
  3. boost::geometry::select_most_precise用法的测试程序
  4. boost::endian::endian_arithmetic的测试程序
  5. boost::core模块实现交换std的dateorder
  6. ITK:在没有写访问权的情况下遍历整个图像
  7. ITK:获取类型的基本信息
  8. DCMTK:类DcmVR:值表示
  9. VTK:Rendering之Cone3
  10. OpenGL材质Materials