hustvl / MapTR

[ICLR'23 Spotlight & IJCV'24] MapTR: Structured Modeling and Learning for Online Vectorized HD Map Construction

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

zhaoxiaolong2020 opened this issue · 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

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

I met the same problem too

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

I used maptr_nano_r18_110e.py to export onnx