bevdet-tensorrt-cpp icon indicating copy to clipboard operation
bevdet-tensorrt-cpp copied to clipboard

Failed to convert .pth model to .onnx

Open missu123 opened this issue 11 months ago • 6 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?

missu123 avatar Mar 26 '24 14:03 missu123