feat(deployment): centerpoint deployment integration #181
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Integrates CenterPoint into the unified deployment framework, enabling deployment and evaluation of ONNX and TensorRT models.
Note, this PR include changes in #180
Changes
projects/CenterPointtodeployment/projects/centerpointdeploy.pyscript with new unified CLI (deployment.cli.main)Migration Notes
projects/CenterPoint/scripts/deploy.py) is removedpython -m deployment.cli.main centerpoint <deploy_config> <model_config>deployment.projects.centerpoint.onnx_modelsHow to run
Exported ONNX (Same)
Voxel Encoder

Backbone Head

Test with Deployment pipeline
Example: TENSORRT
Frame:
Total Num: 1
Skipped Frames: []
Skipped Frames Count: 0
Ground Truth Num: 37
mAP: 0.7897, mAPH: 0.7422 (Center Distance BEV)
Label: car
Label: truck
Label: bus
Label: bicycle
Label: pedestrian
Summary:
mAP: 0.8050, mAPH: 0.7548 (Plane Distance)
Label: car
Label: truck
Label: bus
Label: bicycle
Label: pedestrian
Summary:
Latency Statistics:
Mean: 841.05 ms
Std: 0.00 ms
Min: 841.05 ms
Max: 841.05 ms
Median: 841.05 ms
Stage-wise Latency Breakdown:
Preprocessing : 515.14 ± 0.00 ms
Model : 324.29 ± 0.00 ms
Voxel Encoder : 3.14 ± 0.00 ms
Middle Encoder : 1.05 ± 0.00 ms
Backbone Head : 133.01 ± 0.00 ms
Postprocessing : 1.60 ± 0.00 ms