Skip to content
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

fix: ml detector buffer capacity and parameterization #7936

Merged
merged 6 commits into from
Jul 17, 2024

Conversation

knzo25
Copy link
Contributor

@knzo25 knzo25 commented Jul 10, 2024

Description

In some vehicle setups, the current 1M points was not enough in the ML object detectors.
In this PR I increased it to 2M while also making it a parameter so that users can adapt it to their use cases

Related links

How was this PR tested?

Launcher autoware and verified that the parameter was loaded correctly

Notes for reviewers

This PR must be merged with its autoware_launch companion (autowarefoundation/autoware_launch#1067)
None.

Interface changes

None.

Effects on system behavior

None.

…e to new models) but parameterized to users can adapt it to their use cases

Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>
Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>
@knzo25 knzo25 self-assigned this Jul 10, 2024
@github-actions github-actions bot added the component:perception Advanced sensor data processing and environment understanding. (auto-assigned) label Jul 10, 2024
Copy link

github-actions bot commented Jul 10, 2024

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

@knzo25 knzo25 added the tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jul 10, 2024
Copy link

codecov bot commented Jul 10, 2024

Codecov Report

Attention: Patch coverage is 0% with 12 lines in your changes missing coverage. Please review.

Project coverage is 28.95%. Comparing base (074a717) to head (83e6a6b).

Files Patch % Lines
...n/lidar_transfusion/src/lidar_transfusion_node.cpp 0.00% 3 Missing ⚠️
...ion_based_fusion/src/pointpainting_fusion/node.cpp 0.00% 2 Missing ⚠️
...rception/lidar_centerpoint/lib/centerpoint_trt.cpp 0.00% 2 Missing ⚠️
perception/lidar_centerpoint/src/node.cpp 0.00% 2 Missing ⚠️
...t/include/lidar_centerpoint/centerpoint_config.hpp 0.00% 1 Missing ⚠️
...dar_centerpoint/lib/preprocess/voxel_generator.cpp 0.00% 1 Missing ⚠️
...n/include/lidar_transfusion/transfusion_config.hpp 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7936      +/-   ##
==========================================
- Coverage   28.95%   28.95%   -0.01%     
==========================================
  Files        1606     1607       +1     
  Lines      117597   117617      +20     
  Branches    50602    50605       +3     
==========================================
+ Hits        34048    34051       +3     
- Misses      74299    74316      +17     
  Partials     9250     9250              
Flag Coverage Δ *Carryforward flag
differential 10.43% <0.00%> (?)
total 28.95% <ø> (+<0.01%) ⬆️ Carriedforward from 074a717

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@amadeuszsz amadeuszsz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your PR! Apart of tiny typos it looks good!

Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>
@knzo25
Copy link
Contributor Author

knzo25 commented Jul 17, 2024

@kminoda @tzhong518
friendly ping (as maintainers for centerpoint & pointpainting)

Copy link
Contributor

@kminoda kminoda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@knzo25 knzo25 merged commit f0efe85 into autowarefoundation:main Jul 17, 2024
29 of 30 checks passed
yhisaki pushed a commit to yhisaki/autoware.universe that referenced this pull request Jul 19, 2024
…tion#7936)

* fix: increased the buffer capacity in ML-based detectors (1M -> 2M due to new models) but parameterized to users can adapt it to their use cases

Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>

* chore: added schema parts

Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>

* chore: points are countable !

Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>

---------

Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>
Signed-off-by: Y.Hisaki <[email protected]>
Ariiees pushed a commit to Ariiees/autoware.universe that referenced this pull request Jul 22, 2024
…tion#7936)

* fix: increased the buffer capacity in ML-based detectors (1M -> 2M due to new models) but parameterized to users can adapt it to their use cases

Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>

* chore: added schema parts

Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>

* chore: points are countable !

Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>

---------

Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>
chihungtzeng pushed a commit to chihungtzeng/autoware.universe that referenced this pull request Jul 23, 2024
…tion#7936)

* fix: increased the buffer capacity in ML-based detectors (1M -> 2M due to new models) but parameterized to users can adapt it to their use cases

Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>

* chore: added schema parts

Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>

* chore: points are countable !

Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>

---------

Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>
Signed-off-by: chtseng <[email protected]>
TomohitoAndo pushed a commit to tier4/autoware.universe that referenced this pull request Sep 19, 2024
…tion#7936)

* fix: increased the buffer capacity in ML-based detectors (1M -> 2M due to new models) but parameterized to users can adapt it to their use cases

Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>

* chore: added schema parts

Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>

* chore: points are countable !

Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>

---------

Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>
TomohitoAndo pushed a commit to tier4/autoware.universe that referenced this pull request Sep 19, 2024
…tion#7936)

* fix: increased the buffer capacity in ML-based detectors (1M -> 2M due to new models) but parameterized to users can adapt it to their use cases

Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>

* chore: added schema parts

Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>

* chore: points are countable !

Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>

---------

Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:perception Advanced sensor data processing and environment understanding. (auto-assigned) tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants