专栏算法工具链gridsample算子无法转换

gridsample算子无法转换

已解决
ZQQ2025-02-21
107
9

gridsample算子无法转换

1.1.74GPU开发环境

/convs1/Conv BPU id(0) HzSQuantizedConv int8/int32 /GridSample CPU -- GridSample float/float 2025-02-21 10:37:03,975 INFO End to Horizon NN Model Convert. 2025-02-21 10:37:03,976 INFO ONNX model output num : 1 2025-02-21 10:37:03,978 ERROR *** ERROR-OCCUR-DURING {runtime.runtime_model_generation} ***, error message: HorizonRT not support these cpu operators: GridSample

算法工具链
征程5
评论2
0/1000
  • DR_KAN
    Lv.4
    2025-02-25
    0
    1
    • ZQQ回复DR_KAN:
      多谢yeahyeah_org.svg
      2025-02-25
      0
  • ZQQ
    Lv.1
    2025-02-21
    0
    6
    • Huanghui回复ZQQ:

      你好 ,

      我复现了你的代码 ,可以导出来呀

      2025-02-21
      0
    • Huanghui回复Huanghui:

      你的export_onnx是通过地平线包里面的吧,这里需要用torch导出来

      2025-02-21
      0
    • ZQQ回复Huanghui:

      ok,请问下1.1.74GPU 开发镜像里面的onnx库是地平线官方实现的吗?好像没有onnx.compose这个函数?

      2025-02-24
      0
    • Huanghui回复ZQQ:

      镜像里面的onnx就是公版的onnx ,他的实现跟地平线没关系,

      2025-02-24
      0
    • ZQQ回复Huanghui:

      1.1.74GPU 开发镜像里面的onnx库的版本是1.8.0的 ,能卸载后安装高版本的onnx吗?会不会和地平线的开发环境的莫些库冲突,导致环境用不了?

      2025-02-24
      0
    • Huanghui回复ZQQ:

      你好,工具链对ONNX版本有依赖,升级ONNX环境有可能导致工具链出现bug或不可用的情况。他们的版本是绑定的。

      2025-02-24
      0