-
Notifications
You must be signed in to change notification settings - Fork 570
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(lidar_centerpoint_tvm): add lidar centerpoint tvm package #1898
feat(lidar_centerpoint_tvm): add lidar centerpoint tvm package #1898
Conversation
Signed-off-by: zhengfei liu <carl.liu@autocore.ai>
Thanks for the update. Could you briefly describe what problems we are having with this branch? |
Ok, the current version of the code can be compiled, but it has not been tested with actual data. Now I'm recompiling the Autoware code, and later I will test this |
@angry-crab @ambroise-arm |
Thanks for the update! I'll look into it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It may be that some of the functions of the code do not work.
I haven't finished reviewing everything, but what I have so far may help you.
.../lidar_centerpoint_tvm/include/lidar_centerpoint_tvm/preprocess/pointcloud_densification.hpp
Outdated
Show resolved
Hide resolved
perception/lidar_centerpoint_tvm/lib/postprocess/generate_detected_boxes.cpp
Outdated
Show resolved
Hide resolved
perception/lidar_centerpoint_tvm/lib/postprocess/generate_detected_boxes.cpp
Outdated
Show resolved
Hide resolved
|
perception/lidar_centerpoint_tvm/lib/preprocess/generate_features.cpp
Outdated
Show resolved
Hide resolved
@liuzf1988 I made some changes. Do you want me to add them directly to the pr or maybe as comments? |
perception/lidar_centerpoint_tvm/lib/postprocess/generate_detected_boxes.cpp
Outdated
Show resolved
Hide resolved
Let me submit my changes first. If there are other changes that need to be made, you can modify the pr directly, OK? |
…d logic error Signed-off-by: zhengfei liu <carl.liu@autocore.ai>
…d logic error Signed-off-by: zhengfei liu <carl.liu@autocore.ai>
Codecov ReportBase: 10.48% // Head: 10.47% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #1898 +/- ##
==========================================
- Coverage 10.48% 10.47% -0.02%
==========================================
Files 1248 1252 +4
Lines 91218 91075 -143
Branches 21012 20919 -93
==========================================
- Hits 9565 9538 -27
- Misses 71466 71546 +80
+ Partials 10187 9991 -196
*This pull request uses carry forward flags. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Apart from some format adjustments, the bugs found have been fixed. After compiling, objects can be detected normally using this package, thank you both @angry-crab @ambroise-arm . And the screenshot of detection result is as follows: Please modify the pr directly if other problems are found, thanks! One more problem need to be discussed: |
@yukke42 Hi, do you know anything about why we are using |
@liuzf1988 Cannot build the package. #1880 has to be merged first and changes has to be applied in this PR. |
@liuzf1988 Unfortunately, |
perception/lidar_centerpoint_tvm/lib/preprocess/generate_features.cpp
Outdated
Show resolved
Hide resolved
perception/lidar_centerpoint_tvm/lib/preprocess/generate_features.cpp
Outdated
Show resolved
Hide resolved
perception/lidar_centerpoint_tvm/include/lidar_centerpoint_tvm/network/scatter.hpp
Outdated
Show resolved
Hide resolved
.../lidar_centerpoint_tvm/include/lidar_centerpoint_tvm/postprocess/generate_detected_boxes.hpp
Outdated
Show resolved
Hide resolved
perception/lidar_centerpoint_tvm/lib/postprocess/generate_detected_boxes.cpp
Outdated
Show resolved
Hide resolved
perception/lidar_centerpoint_tvm/lib/postprocess/generate_detected_boxes.cpp
Outdated
Show resolved
Hide resolved
perception/lidar_centerpoint_tvm/lib/postprocess/circle_nms.cpp
Outdated
Show resolved
Hide resolved
@liuzf1988 @ambroise-arm In the images above, the same object cannot be correctly detected with |
Signed-off-by: Xinyu Wang <xinyu.wang@tier4.jp>
Signed-off-by: Xinyu Wang <xinyu.wang@tier4.jp>
...tier4_perception_launch/launch/object_recognition/detection/lidar_based_detection.launch.xml
Outdated
Show resolved
Hide resolved
Possibly. But I don't have so much time to think about it for now. Unrelated: this package will also need to align with #2234 |
Signed-off-by: Xinyu Wang <xinyu.wang@tier4.jp>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't tried to run it.
The code looks good to me.
Signed-off-by: Xinyu Wang <xinyu.wang@tier4.jp>
Something broke this package and there are conflicts. I'll open another one. |
@angry-crab Would you be able to force-push to this branch instead of creating a new PR? |
But I cannot rebase this PR since its not my repo. I'm not sure if it is fine. @mitsudome-r @xmfcx |
@ambroise-arm |
Signed-off-by: zhengfei liu carl.liu@autocore.ai
Description
Provide another lidar centerpoint package using the TVM inference engine compared to the original one using TensorRT inference engine. And this package's directory structure is consistent the original package.
Related links
Related issue #908
Tests performed
Notes for reviewers
There is no problem with compiling, there may be some places that need further optimization.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.