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

build(tensorrt_yolox): remove download logic from CMake #3143

Merged

Conversation

esteve
Copy link
Contributor

@esteve esteve commented Mar 22, 2023

Description

See #3137

Depends on autowarefoundation/autoware_common#164

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.

  • There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@github-actions github-actions bot added the component:perception Advanced sensor data processing and environment understanding. (auto-assigned) label Mar 22, 2023
@codecov
Copy link

codecov bot commented Mar 22, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.15% ⚠️

Comparison is base (0f441c1) 15.75% compared to head (99e526e) 15.61%.
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3143      +/-   ##
==========================================
- Coverage   15.75%   15.61%   -0.15%     
==========================================
  Files        1581     1587       +6     
  Lines      109651   110639     +988     
  Branches    34291    34289       -2     
==========================================
  Hits        17273    17273              
- Misses      73344    74333     +989     
+ Partials    19034    19033       -1     
Flag Coverage Δ *Carryforward flag
differential 0.00% <ø> (?)
total 15.75% <ø> (+<0.01%) ⬆️ Carriedforward from 0f441c1

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

Files Changed Coverage Δ
...calizer/include/ekf_localizer/hyper_parameters.hpp 0.00% <ø> (ø)
localization/ekf_localizer/src/ekf_localizer.cpp 0.00% <ø> (ø)
...can_matcher/include/ndt_scan_matcher/util_func.hpp 0.00% <ø> (ø)
...ion/ndt_scan_matcher/src/ndt_scan_matcher_core.cpp 0.00% <ø> (ø)
localization/ndt_scan_matcher/src/util_func.cpp 0.00% <ø> (ø)
localization/stop_filter/src/stop_filter.cpp 0.00% <ø> (ø)
...gs_adapter/src/autoware_auto_msgs_adapter_core.cpp 47.82% <ø> (ø)
...dapter/test/test_msg_ackermann_control_command.cpp 34.00% <ø> (+0.66%) ⬆️

... and 6 files with indirect coverage changes

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

@esteve esteve changed the title build(tensorrt_yolox): add DOWNLOAD_ARTIFACTS logic build(tensorrt_yolox): remove download logic from CMake Mar 24, 2023
@esteve esteve force-pushed the add-download-artifacts-tensorrt-yolox branch 2 times, most recently from 2c976ff to ccdf957 Compare March 28, 2023 11:51
@stale
Copy link

stale bot commented May 27, 2023

This pull request has been automatically marked as stale because it has not had recent activity.

@stale stale bot added the status:stale Inactive or outdated issues. (auto-assigned) label May 27, 2023
@stale stale bot removed the status:stale Inactive or outdated issues. (auto-assigned) label Jun 20, 2023
@esteve esteve force-pushed the add-download-artifacts-tensorrt-yolox branch from ccdf957 to 0dbe211 Compare July 12, 2023 15:57
@esteve esteve marked this pull request as ready for review July 12, 2023 16:00
@esteve esteve requested review from wep21, dan-dnn and manato as code owners July 12, 2023 16:00
@esteve
Copy link
Contributor Author

esteve commented Jul 12, 2023

@xmfcx @mitsudome-r this PR is now ready for review

@manato
Copy link
Contributor

manato commented Jul 14, 2023

@esteve
Thank you for the proposal. The code modification itself makes sense to me. Actually, I'm not familiar with the background of this topic, therefore, I'd appreciated it if you answered my question: If this PR is merged, which process will download the models, especially for general autoware users?

@esteve
Copy link
Contributor Author

esteve commented Jul 14, 2023

@manato thanks for your feedback. The download of models will be moved to ansible scripts (see autowarefoundation/autoware#3375) and also documented for those users who want to do it manually (see autowarefoundation/autoware-documentation#345)

@manato
Copy link
Contributor

manato commented Jul 18, 2023

@esteve I understood. Thank you for your explanation. One more question: Is there any default directory where the models are downloaded? (I could not find out it as long as I checked the PRs you kindly shared.) The launch files included in this tensorrt_yolox package expect an argument named model_path, which represent a directory path that contains ONNX (and label) files. If the default directory exists, changing the default value of the model_path would be nice to specify the directory.
(This launcher-related topic might be out-of-scope of this PR. If you would like to treat this launcher-related topic in another PR, let me know freely :) )

@esteve
Copy link
Contributor Author

esteve commented Jul 18, 2023

@manato in fact we just discussed that in the ASWG :-) We'll have a default folder where artifacts will be downloaded, but the user will be able to override in the command line or changing the launch files. I'll submit a PR with that change and I'd appreciate if I could get your feedback, thanks!

@esteve esteve force-pushed the add-download-artifacts-tensorrt-yolox branch from 0dbe211 to a53b048 Compare September 6, 2023 09:45
@esteve esteve marked this pull request as draft September 8, 2023 14:59
@esteve esteve force-pushed the add-download-artifacts-tensorrt-yolox branch from a53b048 to d20e34e Compare September 19, 2023 14:47
@esteve esteve added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Sep 20, 2023
@esteve esteve marked this pull request as ready for review September 20, 2023 10:05
@esteve esteve force-pushed the add-download-artifacts-tensorrt-yolox branch from d20e34e to 99e526e Compare September 20, 2023 10:06
@esteve esteve enabled auto-merge (squash) September 20, 2023 10:48
Copy link
Contributor

@miursh miursh left a comment

Choose a reason for hiding this comment

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

LGTM

@esteve
Copy link
Contributor Author

esteve commented Sep 21, 2023

@miursh thank you for your review, unfortunately I need approval from one of the code owners to merge this (ping @wep21 @dan-dnn @manato)

Copy link
Contributor

@wep21 wep21 left a comment

Choose a reason for hiding this comment

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

LGTM

@esteve esteve merged commit 4dd6960 into autowarefoundation:main Sep 21, 2023
@esteve esteve deleted the add-download-artifacts-tensorrt-yolox branch September 22, 2023 08:40
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) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

4 participants