Skip to content

Commit

Permalink
feat: change centerpoint model path (#314)
Browse files Browse the repository at this point in the history
feat: change centerpoint model path (#313)

* chore: change centerpoint model path

* Parameter to specify model path

---------

Co-authored-by: Shohei Sakai <[email protected]>
  • Loading branch information
ropoc and saka1-s committed Jun 25, 2024
1 parent 6f2695d commit dc9d4fd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions autoware_launch/launch/autoware.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@
<!-- Auto mode setting-->
<arg name="enable_all_modules_auto_mode" default="false" description="enable all module's auto mode"/>
<arg name="is_simulation" default="false" description="Autoware's behavior will change depending on whether this is a simulation or not."/>
<arg name="centerpoint_model_path" default="/opt/autoware/mlmodels/centerpoint" description="path of centerpoint model file"/>
<arg name="centerpoint_model_param_path" default="/opt/autoware/mlmodels/centerpoint/aip_x2.param.yaml" description="path of centerpoint parameter file"/>
<!-- Localization -->
<arg name="localization_mode" default="lidar" description="select localization mode. lidar, camera"/>

<!-- Global parameters -->
<group scoped="false">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
<arg name="use_low_height_cropbox" value="false"/>
<arg name="enable_fine_detection" value="$(var traffic_light_recognition/enable_fine_detection)"/>
<arg name="centerpoint_model_name" value="aip_x2"/>
<arg name="centerpoint_model_path" value="$(find-pkg-share ml_model_provider)/data/lidar_centerpoint"/>
<arg name="centerpoint_model_param_path" value="$(find-pkg-share ml_model_provider)/config/lidar_centerpoint/aip_x2.param.yaml"/>
<arg name="centerpoint_model_path" value="/opt/autoware/mlmodels/centerpoint"/>
<arg name="centerpoint_model_param_path" value="/opt/autoware/mlmodels/centerpoint/aip_x2.param.yaml"/>

<!-- object recognition -->
<arg
Expand Down
3 changes: 3 additions & 0 deletions autoware_launch/launch/logging_simulator.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
<arg name="rviz" default="true" description="launch rviz"/>
<!-- Scenario simulation -->
<arg name="scenario_simulation" default="true" description="use scenario simulation"/>
<!-- Perception -->
<arg name="centerpoint_model_path" default="/opt/autoware/mlmodels/centerpoint" description="path of centerpoint model file"/>
<arg name="centerpoint_model_param_path" default="/opt/autoware/mlmodels/centerpoint/aip_x2.param.yaml" description="path of centerpoint parameter file"/>

<group scoped="false">
<include file="$(find-pkg-share autoware_launch)/launch/autoware.launch.xml">
Expand Down

0 comments on commit dc9d4fd

Please sign in to comment.