Regarding replacing the lidar centerpoint net trt engine #4832
-
Hi, As mentioned above, i have a custom trt engine which is generated using mmdeploy and it is a single file. But when i analyse autoware-> Perception-> lidar centerpoint node, it loads two onnx's or engine's (pts_voxel_encoder_centerpoint_tiny.onnx, pts_voxel_encoder_centerpoint_tiny.engine and pts_backbone_neck_head_centerpoint_tiny.onnx, pts_backbone_neck_head_centerpoint_tiny.engine). I am not sure how to generate these two separate files. I have used mmdeploy (https://github.com/open-mmlab/mmdeploy) to generate in-house onnx/trt engine. Would be great help if somebody can point out on how to generate in the required format (as two egines)? I could not find any references on the same (maybe i might have missed something in case if there is already).Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 10 replies
-
Hi, thank you for your interest. I am an perception engineer from TIER IV. TIER IV has an internal machine learning library that generates above ONNX files. Although we are working on making it public as well, but still taking a bit of time. As a temporary solution, you may also find this work helpful: autowarefoundation/mmdetection3d#1 |
Beta Was this translation helpful? Give feedback.
-
Hi, Thanks for your quick reply and it is really helpful. I think autoware expects two .onnx and .trt engines as well, is not it? And the pull request that you have shared generates only two .onnx files it seems to be. Thanks! |
Beta Was this translation helpful? Give feedback.
-
@kminoda , can you please share the config of the pytorch model that you have trained? I could notice that there is some difference in voxel encoder esp, so sharing your pytorch model config would help me to analyse in right direction. Thanks! |
Beta Was this translation helpful? Give feedback.
-
@kminoda , I have re-trained a model with same config that you are using, converted to onnx and try to run ros2 node but it failed to create backbone-neck-head network with the below error " When i analysed the onnx graph, the graph that you created and my graphs are exactly same and attached the concat node. my graph is as below Do you have any suggestions why am i getting still the above error? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Sorry for not being able to catching up lately. What is your current issue here? |
Beta Was this translation helpful? Give feedback.
-
It works as expected. Thanks for all your help! |
Beta Was this translation helpful? Give feedback.
Hi, thank you for your interest. I am an perception engineer from TIER IV.
TIER IV has an internal machine learning library that generates above ONNX files. Although we are working on making it public as well, but still taking a bit of time.
As a temporary solution, you may also find this work helpful: autowarefoundation/mmdetection3d#1