专栏算法工具链hb_mapper makertbin编译报错

hb_mapper makertbin编译报错

已解决
我爱邢宝宝i2024-03-06
74
5

用户您好,请详细描述您所遇到的问题,详细的描述有助于帮助我们快速定位,解决问题~Thanks♪(・ω・)ノ

1. 芯片型号:J5

2. 天工开物开发包 OpenExplorer 版本:例如 J5_OE_1.1.40 等

3. 问题定位:模型转换

4. 问题具体描述:ERROR The input input_ids has the dynamic input_shape 1x0 but the dynamic batch dim is not the first dim, please configure the input_shape option and specify all the dynamic dims of this input
算法工具链
征程5
评论4
0/1000
  • 我爱邢宝宝i
    Lv.2

    checker时错误:ERROR *** ERROR-OCCUR-DURING {horizon_nn.build_onnx} ***, error message: The shape of model input:input_ids is [1, 0] which has dimensions of 0. Dynamic shape model can not be converted. Please specify input-shape parameter


    2024-03-06
    0
    1
    • 我爱邢宝宝i回复我爱邢宝宝i:

      您好,烦请空闲时间回复一下,咱们是不支持动态输入模型的编译吗

      2024-03-07
      0
  • kotei左文亮
    Lv.3

    这个应该是动态输入的维度出错了,维度的值是0,所以报错了。您再检查一下自己的模型 或者更换一个维度试一试。

    2024-03-08
    0
    0
  • 我爱邢宝宝i
    Lv.2

    Dynamic shape model can not be converted. 那就是不支持动态输入的模型,只能转换为静态图的方式编译吗


    2024-03-09
    0
    0
  • kotei左文亮
    Lv.3

    既然是出现这样的提升,那应该就是不支持动态维度输入。

    2024-03-11
    0
    0