|
5 | 5 | <arg name="output/objects" default="/perception/object_recognition/detection/rois0"/>
|
6 | 6 | <arg name="model_name" default="yolox-sPlus-T4-960x960-pseudo-finetune"/>
|
7 | 7 | <arg name="data_path" default="$(env HOME)/autoware_data" description="packages data and artifacts directory path"/>
|
8 |
| - <arg name="model_path" default="$(var data_path)/tensorrt_yolox"/> |
9 |
| - <arg name="score_threshold" default="0.35"/> |
10 |
| - <arg name="nms_threshold" default="0.7"/> |
11 |
| - <arg name="precision" default="int8" description="operation precision to be used on inference. Valid value is one of: [fp32, fp16, int8]"/> |
12 |
| - <arg |
13 |
| - name="calibration_algorithm" |
14 |
| - default="Entropy" |
15 |
| - description="Calibration algorithm to be used for quantization when precision==int8. Valid value is one of: [Entropy, (Legacy | Percentile), MinMax]" |
16 |
| - /> |
17 |
| - <arg name="dla_core_id" default="-1" description="If positive ID value is specified, the node assign inference task to the DLA core"/> |
18 |
| - <arg name="quantize_first_layer" default="false" description="If true, set the operating precision for the first (input) layer to be fp16. This option is valid only when precision==int8"/> |
19 |
| - <arg name="quantize_last_layer" default="false" description="If true, set the operating precision for the last (output) layer to be fp16. This option is valid only when precision==int8"/> |
20 |
| - <arg |
21 |
| - name="profile_per_layer" |
22 |
| - default="false" |
23 |
| - description="If true, profiler function will be enabled. Since the profile function may affect execution speed, it is recommended to set this flag true only for development purpose." |
24 |
| - /> |
25 |
| - <arg |
26 |
| - name="clip_value" |
27 |
| - default="6.0" |
28 |
| - description="If positive value is specified, the value of each layer output will be clipped between [0.0, clip_value]. This option is valid only when precision==int8 and used to manually specify the dynamic range instead of using any calibration." |
29 |
| - /> |
30 |
| - <arg name="preprocess_on_gpu" default="true" description="If true, pre-processing is performed on GPU"/> |
31 |
| - <arg name="calibration_image_list_path" default="" description="Path to a file which contains path to images. Those images will be used for int8 quantization."/> |
| 8 | + <arg name="yolox_param_path" default="$(find-pkg-share tensorrt_yolox)/config/yolox_s_plus_opt.param.yaml"/> |
32 | 9 | <arg name="use_decompress" default="true" description="use image decompress"/>
|
33 | 10 | <arg name="build_only" default="false" description="exit after trt engine is built"/>
|
34 | 11 |
|
|
40 | 17 | <node pkg="tensorrt_yolox" exec="tensorrt_yolox_node_exe" name="tensorrt_yolox" output="screen">
|
41 | 18 | <remap from="~/in/image" to="$(var input/image)"/>
|
42 | 19 | <remap from="~/out/objects" to="$(var output/objects)"/>
|
43 |
| - <param name="score_threshold" value="$(var score_threshold)"/> |
44 |
| - <param name="nms_threshold" value="$(var nms_threshold)"/> |
45 |
| - <param name="model_path" value="$(var model_path)/$(var model_name).onnx"/> |
46 |
| - <param name="label_path" value="$(var model_path)/label.txt"/> |
47 |
| - <param name="precision" value="$(var precision)"/> |
48 |
| - <param name="calibration_algorithm" value="$(var calibration_algorithm)"/> |
49 |
| - <param name="dla_core_id" value="$(var dla_core_id)"/> |
50 |
| - <param name="quantize_first_layer" value="$(var quantize_first_layer)"/> |
51 |
| - <param name="quantize_last_layer" value="$(var quantize_last_layer)"/> |
52 |
| - <param name="profile_per_layer" value="$(var profile_per_layer)"/> |
53 |
| - <param name="clip_value" value="$(var clip_value)"/> |
54 |
| - <param name="preprocess_on_gpu" value="$(var preprocess_on_gpu)"/> |
55 |
| - <param name="calibration_image_list_path" value="$(var calibration_image_list_path)"/> |
| 20 | + <param from="$(var yolox_param_path)" allow_substs="true"/> |
56 | 21 | <param name="build_only" value="$(var build_only)"/>
|
57 | 22 | </node>
|
58 | 23 | </launch>
|
0 commit comments