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(tensorrt yolo): update model path #5158

Conversation

lexavtanke
Copy link
Contributor

@lexavtanke lexavtanke commented Sep 27, 2023

Description

Belongs to Standardize a strategy for packages with downloaded artifacts
As autowarefoundation/autoware#3375 was merged to Autoware.universe. It is possible to use artifacts downloaded there.
#3142 was merged and old path to model file is outdated.

This PR introduces new launch argument data_path in the form:
<arg name="data_path" default="$(env HOME)/autoware_data" description="packages data and artifacts directory path"/>
It also updates engine_file, onnx_file, label_file and calib_cache_file in launch and README.

Tests performed

Not applicable.

Effects on system behavior

Not applicable.

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 type:documentation Creating or refining documentation. (auto-assigned) component:perception Advanced sensor data processing and environment understanding. (auto-assigned) labels Sep 27, 2023
@lexavtanke lexavtanke changed the title Fix(tensorrt yolo): update model path fix(tensorrt yolo): update model path Sep 27, 2023
@lexavtanke lexavtanke marked this pull request as ready for review September 27, 2023 11:53
@lexavtanke lexavtanke requested a review from wep21 as a code owner September 27, 2023 11:53
@wep21 wep21 added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Sep 28, 2023
@codecov
Copy link

codecov bot commented Sep 28, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (16dc535) 14.91% compared to head (3b86e57) 14.82%.
Report is 30 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5158      +/-   ##
==========================================
- Coverage   14.91%   14.82%   -0.09%     
==========================================
  Files        1625     1639      +14     
  Lines      112419   113075     +656     
  Branches    34703    34703              
==========================================
  Hits        16769    16769              
- Misses      76903    77559     +656     
  Partials    18747    18747              
Flag Coverage Δ *Carryforward flag
differential 0.00% <ø> (?)
total 14.91% <ø> (ø) Carriedforward from 16dc535

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

see 14 files with indirect coverage changes

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

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

@lexavtanke lexavtanke merged commit dea2b07 into autowarefoundation:main Sep 28, 2023
@lexavtanke lexavtanke deleted the fix-tensorrt-yolo-update-model-path branch September 28, 2023 12:16
miursh pushed a commit to tier4/autoware.universe that referenced this pull request Sep 28, 2023
* fix(tensorrt_yolo): add arg data_path, update onnx_file

Signed-off-by: Alexey Panferov <[email protected]>

* fix(tensorrt_yolo): update model downloading in README, add data_path

Signed-off-by: Alexey Panferov <[email protected]>

---------

Signed-off-by: Alexey Panferov <[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) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) type:documentation Creating or refining documentation. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants