当前位置: 代码迷 >> 综合 >> xml文件转化成tfrecord格式出现错误TypeError: None has type NoneType, but expected one of: int, long
  详细解决方案

xml文件转化成tfrecord格式出现错误TypeError: None has type NoneType, but expected one of: int, long

热度:2   发布时间:2023-11-23 22:45:12.0

此错误是由于数据集标注不全标签拼写错误而引起的,应检查训练集以及测试集里的照片是否和生成的xml文件一一对应,改正之后,需要重新生成csv数据。

 

生成tfrecords时报错:TypeError: None has type NoneType, but expected one of: int, long:https://blog.csdn.net/qq_27882063/article/details/85258113

  相关解决方案