MapTR icon indicating copy to clipboard operation
MapTR copied to clipboard

export onnx error ( We don't have an op for aten::mul but it isn't a special case )

Open zhaoxiaolong2020 opened this issue 1 year ago • 4 comments

when i export maptr to onnx ,report error as below : RuntimeError: 0INTERNAL ASSERT FAILED at "../torch/csrc/jit/ir/alias_analysis.cpp":584, please report a bug to PyTorch. We don't have an op for aten::mul but it isn't a special case. Argument types: Tensor, bool,

please help find which line cause this error , maybe op not support , and how to replace op to solve , thanks alot

zhaoxiaolong2020 avatar Nov 10 '23 08:11 zhaoxiaolong2020

Have you solved this problem now? You can try to export maptr_tiny_r50_24e_bevformer.py model, which is nearly same to bevformer

LordonCN avatar Dec 21 '23 08:12 LordonCN

I met the same problem too

xll426 avatar Jan 22 '24 10:01 xll426

Which operator is not supported? I found that there is deformable in the config of your model.

xll426 avatar Jan 22 '24 10:01 xll426

I used maptr_nano_r18_110e.py to export onnx

xll426 avatar Jan 22 '24 10:01 xll426