-
Notifications
You must be signed in to change notification settings - Fork 658
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_transfusion): add lidar_transfusion 3D detection package #6890
feat(lidar_transfusion): add lidar_transfusion 3D detection package #6890
Conversation
Signed-off-by: amadeuszsz <[email protected]>
Signed-off-by: amadeuszsz <[email protected]>
Signed-off-by: Amadeusz Szymko <[email protected]>
Comments:
|
@scepter914 |
@knzo25 |
Apologies 🙇 |
Thank you @knzo25 for your review. Let me investigate the kernels first to find mentioned leak. Regarding the NaN output, as you suggested we will:
|
Signed-off-by: amadeuszsz <[email protected]>
@knzo25 |
Signed-off-by: amadeuszsz <[email protected]>
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.
Thank you for PR.
Overall very readable code and rich documentation is so great. 👍
I took a quick look at whole code and I ask you to add some members for maintainers because development will be robuster and smoother if multiple people can maintain it.
As the rest of my work, I'll test with some rosbag and I'll approve after I confirm the operation with some Rosbag.
I apologize for the inconvenience, would you fix DCO? |
Co-authored-by: Satoshi Tanaka <[email protected]> Signed-off-by: amadeuszsz <[email protected]>
8506f8a
to
f5e8146
Compare
Signed-off-by: amadeuszsz <[email protected]>
Signed-off-by: amadeuszsz <[email protected]>
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 confirm the perform with other rosbags.
After kenzo-san's review and uploading model, we can merge this PR. 👍
Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>
…re.universe into feat/lidar_transfusion
…6890) * feat(lidar_transfusion): add lidar_transfusion 3D detection package Signed-off-by: amadeuszsz <[email protected]> * style(pre-commit): autofix * style(lidar_transfusion): cpplint Signed-off-by: amadeuszsz <[email protected]> * style(lidar_transfusion): cspell Signed-off-by: Amadeusz Szymko <[email protected]> * fix(lidar_transfusion): CUDA mem allocation & inference input Signed-off-by: amadeuszsz <[email protected]> * style(pre-commit): autofix * fix(lidar_transfusion): arrays size Signed-off-by: amadeuszsz <[email protected]> * style(pre-commit): autofix * chore(lidar_transfusion): update maintainers Co-authored-by: Satoshi Tanaka <[email protected]> Signed-off-by: amadeuszsz <[email protected]> * fix(lidar_transfusion): array size & grid idx Signed-off-by: amadeuszsz <[email protected]> * chore(lidar_transfusion): update maintainer email Signed-off-by: amadeuszsz <[email protected]> * chore: added transfusion to the respective launchers Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]> * refactor(lidar_transfusion): rename config Signed-off-by: amadeuszsz <[email protected]> * refactor(lidar_transfusion): callback access specifier Signed-off-by: amadeuszsz <[email protected]> * refactor(lidar_transfusion): pointers initialziation Signed-off-by: amadeuszsz <[email protected]> * refactor(lidar_transfusion): change macros for constexpr Signed-off-by: amadeuszsz <[email protected]> * refactor(lidar_transfusion): consts & uniform initialization Signed-off-by: amadeuszsz <[email protected]> * refactor(lidar_transfusion): change to unique ptr & uniform initialization Signed-off-by: amadeuszsz <[email protected]> * style(pre-commit): autofix * refactor(lidar_transfusion): use of config params Signed-off-by: amadeuszsz <[email protected]> * refactor(lidar_transfusion): remove unnecessary condition Signed-off-by: amadeuszsz <[email protected]> * style(lidar_transfusion): switch naming (CPU to HOST) Signed-off-by: amadeuszsz <[email protected]> * refactor(lidar_transfusion): remove redundant device sync Signed-off-by: amadeuszsz <[email protected]> * style(lidar_transfusion): intensity naming Signed-off-by: amadeuszsz <[email protected]> * feat(lidar_transfusion): full network shape validation Signed-off-by: amadeuszsz <[email protected]> * feat(lidar_transfusion): validate objects' orientation in host processing Signed-off-by: amadeuszsz <[email protected]> * feat(lidar_transfusion): add json schema Signed-off-by: amadeuszsz <[email protected]> * style(pre-commit): autofix * style(lidar_transfusion): affine matrix naming Signed-off-by: amadeuszsz <[email protected]> * style(lidar_transfusion): transformed point naming Signed-off-by: amadeuszsz <[email protected]> * refactor(lidar_transfusion): add param descriptor & arrays size check Signed-off-by: amadeuszsz <[email protected]> * style(lidar_transfusion): affine matrix naming Signed-off-by: amadeuszsz <[email protected]> * feat(lidar_transfusion): caching cloud input as device ptr Signed-off-by: amadeuszsz <[email protected]> * fix(lidar_transfusion): logging Signed-off-by: amadeuszsz <[email protected]> * chore(tier4_perception_launch): revert to centerpoint Signed-off-by: amadeuszsz <[email protected]> * fix(lidar_transfusion): typo Signed-off-by: amadeuszsz <[email protected]> * docs(lidar_transfusion): use hook for param description Signed-off-by: amadeuszsz <[email protected]> * fix(lidar_transfusion): interpret eigen matrix as col major Signed-off-by: amadeuszsz <[email protected]> * feat(lidar_transfusion): update to autware_msgs Signed-off-by: amadeuszsz <[email protected]> --------- Signed-off-by: Amadeusz Szymko <[email protected]> Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kenzo Lobos Tsunekawa <[email protected]>
Description
The PR adds a new
lidar_transfusion
package which brings a new 3D detection component based on TransFusion[1].lidar_transfusion_demo-2024-04-25_15.56.14.mp4
Related links
[1] Xuyang Bai, Zeyu Hu, Xinge Zhu, Qingqiu Huang, Yilun Chen, Hongbo Fu and Chiew-Lan Tai. "TransFusion: Robust LiDAR-Camera Fusion for 3D Object Detection with Transformers." arXiv preprint arXiv:2203.11496 (2022)
[2] rosbag (TIER IV internal link)
[3] helper files (TIER IV internal link)
[4] TransFusion onnx model (TIER IV internal link)
Tests performed
Notes for reviewers
The package can best tested with rosbag file. If data needed, you can use this rosbag[2] and copy helper files[3] to the
launch
directory oflidar_transfusion
package before building. The default path foronnx
model is~/autoware_data/lidar_transfusion/transfusion.onnx
. The model awaits for deployment, temporary please use attached link[4].To start, run commands:
Interface changes
Effects on system behavior
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.