专栏算法工具链CenterPoint检测模型训练报错

CenterPoint检测模型训练报错

Mercury2025-11-21
158
8

芯片型号:J6 天工开物开发包 OpenExplorer 版本:3.5.0 天工开物开发包 docker镜像名称:openexplorer/ai_toolchain_ubuntu_22_j6_gpu:v3.5.0 复现OE文档中Centerpoint模型训练过程,根据OE文档-进阶内容-Horizon Torch Samples-示例说明-Centerpoint检测模型训练 执行命令

python3 tools/create_data.py --dataset nuscenes --root-dir ./tmp_data/nuscenes/lidar_seg/v1.0-mini --extra-tag nuscenes --out-dir tmp_nuscenes/lidar

时报错TypeError: 'NoneType' object is not subscriptable 

算法工具链
征程6
+1
评论4
0/1000
  • Huanghui
    Lv.5

    你好,该问题的根本原因是:由于lidar检测没有__len__属性,导致key内保存值不是索引,而是解析的ascii格式的key导致。修改方式如下:

    另外, 对于该参考示例的说明需要修改如下,否则执行python3 tools/create_data.py依然会有读取info["valid_flag"]失败。
    2026-01-05
    1
    1
    • Mercury回复Huanghui:

      好的,感谢你的解答

      2026-01-06
      0
  • Mercury
    Lv.1
    具体报错如下
    2025-11-21
    0
    0
  • YCJ
    Lv.4

    您好!请问这个问题现在解决了吗?若还没有解决,现在的状态是怎样的?

    2025-12-30
    0
    0
  • Vincent
    Lv.4

    你好,您那边是否能提供下数据集呢,我这边验证一下

    2025-11-24
    0
    3
    • Mercury回复Vincent:

      你好,需要怎么发给您,我这边使用的是nuscenes mini数据集。

      2025-11-24
      0
    • Vincent回复Mercury:

      网盘吧

      2025-11-25
      0
    • Mercury回复Vincent:

      通过网盘分享的文件:data.zip 链接: https://pan.baidu.com/s/1y84tG6qS7GsYnpe3R4q-_A?pwd=ryp6 提取码: ryp6

      2025-11-25
      0