专栏算法工具链horizon_nn.build_onnx报错

horizon_nn.build_onnx报错

Osborn282023-08-18
23
3

docker image: openexplorer/ai_toolchain_ubuntu_20_xj3_cpu:v2.6.2b

hb_mapper makertbin报错如何,其中Add_601是Conv的输出

WARNING: Sub_903 not supported by BPU

Layer ArgMax_907

When keep_score != keep_index, the number of channels of output is expected to be 1*group_num (group_num=1), but 2048 provided.

WARNING: ReduceSum_905 not supported by BPU

WARNING: ReduceMax_902 not supported by BPU

WARNING: Sub_903 not supported by BPU

Layer ArgMax_907

When keep_score != keep_index, the number of channels of output is expected to be 1*group_num (group_num=1), but 2048 provided.

WARNING: ReduceSum_905 not supported by BPU

WARNING: ReduceMax_902 not supported by BPU

2023-08-18 11:13:34,069 ERROR *** ERROR-OCCUR-DURING {horizon_nn.build_onnx} ***, error message: There is no input Add_38_onnx::Add_601_x_scale1 in the calibration data set.

2023-08-18 11:13:34,083 INFO [Fri Aug 18 11:13:34 2023] End to calibrate the model.

2023-08-18 11:13:34,086 INFO [Fri Aug 18 11:13:34 2023] End to Horizon NN Model Convert.

算法工具链
评论1
0/1000
  • 颜值即正义
    Lv.2

    你好,麻烦提供一下onnx模型和对应的yaml文件,我们来复现一下你的问题

    2023-08-18
    0
    2
    • Osborn28回复颜值即正义:

      您好,从这个报错能给一些提示信息吗?大概是哪些排查方向呢。这个报错有点看不明白,因为是模型的中间某个算子,模型可视化来看参数都是明确的,没太理解这个x_scale1是个啥?

      2023-08-18
      0
    • 颜值即正义回复Osborn28:

      会从模型合法性(onnxruntime1.2.0能否成功推理)、内部新版本是否已解决等角度分析

      2023-08-18
      0