专栏算法工具链ModuleNotFoundError: No module named 'hatbc'

ModuleNotFoundError: No module named 'hatbc'

已解决
红鲤鱼绿鲤鱼与驴2025-04-22
52
4

芯片:J5 

docker环境: J5 v1.1.68

代码运行过程中出现警告: OE包版本跟Docker版本是匹配的,仍然出现以下警告,如何解决警告呢?

2025-04-22 10:39:04,163 WARNING: Force duplicate shared conv-bn is disabled by default as of version 1.9.0. If you still need this feature before version 1.11.0 to load old checkpoints or for other reasons, please set `horizon_plugin_pytorch.qat_mode.tricks.fx_force_duplicate_shared_convbn = True` to enable it. However, please note that this feature will be removed in version 1.11.0. `aidisdk` dependency is not available. WARNING:root:init `TorchModulePatch` failed, caused by 'Required dependencies is not available: ModuleNotFoundError: No module named 'hatbc'. ', will set `patcher=None`

算法工具链
征程5技术深度解析
评论1
0/1000
  • Huanghui
    Lv.5

    你好,这个是运行什么代码爆出来的错误?

    2025-04-23
    0
    3
    • 红鲤鱼绿鲤鱼与驴回复Huanghui:

      您好,我是在运行地平线J5 v1.1.68 QAT训练demo中的train.py得到的错误,加载的配置文件为stereonetplus_mixvargenet_sceneflow.py--stage float

      2025-04-23
      0
    • 红鲤鱼绿鲤鱼与驴回复Huanghui:

      您好,这个问题能帮忙在帮忙回复一下马,谢谢拉

      2025-05-28
      0
    • Huanghui回复红鲤鱼绿鲤鱼与驴:

      我的理解时:这个只是一个提示,应该不会造成啥影响的,可以先测试一下,另外如果确有影响还想继续使用 duplicate shared conv-bn ,日志提示中也显示了处理方法: If you still need this feature before version 1.11.0 to load old checkpoints or for other reasons, please set `horizon_plugin_pytorch.qat_mode.tricks.fx_force_duplicate_shared_convbn = True` to enable it. 另外,手动复制 shared conv-bn 也是OK的,如果不同场景下scale值确时变化比较大。

      2025-06-02
      0