Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hongtaofly opened this issue Apr 17, 2024 · 0 comments

Comments

@hongtaofly
Copy link

使用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]的模型

@hongtaofly hongtaofly changed the title tpu-mlir ONNX转换BM1684X模型失败,Assertion `getScaleH() == getScaleW()' failed. tpu-mlir ONNX转换BM1684模型失败,Assertion `getScaleH() == getScaleW()' failed. Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant