LCH1238 / bevdet-tensorrt-cpp

BEVDet implemented by TensorRT, C++; Achieving real-time performance on Orin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to convert .pth model to .onnx

missu123 opened this issue · comments

Thank you for this great work! I used the bevdet-export repo to convert 'bevdet-lt-d-ft-nearest.pth' or 'bevdet-r50-4dlongterm-depth-cbgs.pth' to onnx format, but got an error as follow:

"./BEVDet-export/mmdet3d/models/detectors/trt_model.py", line 67, in forward
x, mlp_bn, con_se, depth_se = self.img_view_transformer.depth_net(r, mlp_input)
ValueError: not enough values to unpack (expected 4, got 2)

could you help me to solve the problem or give me some advices?

I encountered the same problem, do you know how to solve it now @missu123 @LCH1238

I am using your code, but the environment is configured according to BEVDet dev3.0. Is the problem here? @LCH1238

I encountered the same problem, do you know how to solve it now @missu123 @LCH1238

I am using your code, but the environment is configured according to BEVDet dev3.0. Is the problem here? @LCH1238

has solved it ?

大概率是环境问题,确认环境正常吗?