sophgo / tpu-mlir

Machine learning compiler based on MLIR for Sophgo TPU.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tpu-mlir ONNX转换BM1684模型失败,Assertion `getScaleH() == getScaleW()' failed.

hongtaofly opened this issue · comments

使用tpu-mlir进行模型转换报错tpuc-opt: /workspace/tpu-mlir/lib/Dialect/Tpu/Interfaces/BM1684X/Upsample.cpp:20: void tpu_mlir::tpu::UpsampleOp::codegen_global_bm1684x(): Assertion `getScaleH() == getScaleW()' failed.;所转换模型的shape为[1,3,32,128],请问是什么原因呢?原先也可以成功转换[1,3,448,768]的模型