Skip to content

Commit 0109746

Browse files
committed
chore: rearrange params
Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>
1 parent 772ba9a commit 0109746

File tree

6 files changed

+16
-22
lines changed

6 files changed

+16
-22
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/**:
22
ros__parameters:
3-
trt_precision: fp16
43
model_params:
54
class_names: ["CAR", "TRUCK", "BUS", "BICYCLE", "PEDESTRIAN"]
65
paint_class_names: ["CAR", "BICYCLE", "PEDESTRIAN"]
@@ -10,8 +9,9 @@
109
voxel_size: [0.32, 0.32, 8.0]
1110
downsample_factor: 1
1211
encoder_in_feature_size: 12
13-
yaw_norm_thresholds: [0.3, 0.3, 0.3, 0.3, 0.0]
14-
has_twist: false
1512
densification_params:
1613
world_frame_id: "map"
1714
num_past_frames: 0
15+
omp_params:
16+
# omp params
17+
num_threads: 1

perception/image_projection_based_fusion/config/pointpainting_ml_package.param.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
head_onnx_path: "$(var model_path)/pts_backbone_neck_head_$(var model_name).onnx"
66
head_engine_path: "$(var model_path)/pts_backbone_neck_head_$(var model_name).engine"
77
build_only: false
8+
trt_precision: fp16
89
post_process_params:
910
# post-process params
1011
circle_nms_dist_threshold: 0.3
1112
iou_nms_target_class_names: ["CAR"]
1213
iou_nms_search_distance_2d: 10.0
1314
iou_nms_threshold: 0.1
1415
score_threshold: 0.35
15-
omp_params:
16-
# omp params
17-
num_threads: 1
16+
yaw_norm_thresholds: [0.3, 0.3, 0.3, 0.3, 0.0]
17+
has_twist: false

perception/image_projection_based_fusion/src/pointpainting_fusion/node.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ PointPaintingFusionNode::PointPaintingFusionNode(const rclcpp::NodeOptions & opt
102102
const float circle_nms_dist_threshold = static_cast<float>(
103103
this->declare_parameter<double>("post_process_params.circle_nms_dist_threshold"));
104104
const auto yaw_norm_thresholds =
105-
this->declare_parameter<std::vector<double>>("model_params.yaw_norm_thresholds");
105+
this->declare_parameter<std::vector<double>>("post_process_params.yaw_norm_thresholds");
106106
// densification param
107107
const std::string densification_world_frame_id =
108108
this->declare_parameter<std::string>("densification_params.world_frame_id");
@@ -140,7 +140,7 @@ PointPaintingFusionNode::PointPaintingFusionNode(const rclcpp::NodeOptions & opt
140140
isClassTable_.erase(cls);
141141
}
142142
}
143-
has_twist_ = this->declare_parameter<bool>("model_params.has_twist");
143+
has_twist_ = this->declare_parameter<bool>("post_process_params.has_twist");
144144
const std::size_t point_feature_size = static_cast<std::size_t>(
145145
this->declare_parameter<std::int64_t>("model_params.point_feature_size"));
146146
const std::size_t max_voxel_size =

perception/lidar_centerpoint/config/centerpoint.param.yaml

-7
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,5 @@
77
voxel_size: [0.32, 0.32, 10.0]
88
downsample_factor: 1
99
encoder_in_feature_size: 9
10-
# post-process params
11-
circle_nms_dist_threshold: 0.5
12-
iou_nms_target_class_names: ["CAR"]
13-
iou_nms_search_distance_2d: 10.0
14-
iou_nms_threshold: 0.1
15-
yaw_norm_thresholds: [0.3, 0.3, 0.3, 0.3, 0.0]
16-
trt_precision: fp16
1710
densification_num_past_frames: 1
1811
densification_world_frame_id: map

perception/lidar_centerpoint/config/centerpoint_tiny.param.yaml

-7
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,5 @@
77
voxel_size: [0.32, 0.32, 10.0]
88
downsample_factor: 2
99
encoder_in_feature_size: 9
10-
# post-process params
11-
circle_nms_dist_threshold: 0.5
12-
iou_nms_target_class_names: ["CAR"]
13-
iou_nms_search_distance_2d: 10.0
14-
iou_nms_threshold: 0.1
15-
yaw_norm_thresholds: [0.3, 0.3, 0.3, 0.3, 0.0]
16-
trt_precision: fp16
1710
densification_num_past_frames: 1
1811
densification_world_frame_id: map

perception/lidar_centerpoint/config/lidar_centerpoint_ml_package.param.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,11 @@
99
encoder_engine_path: "$(var model_path)/pts_voxel_encoder_$(var model_name).engine"
1010
head_onnx_path: "$(var model_path)/pts_backbone_neck_head_$(var model_name).onnx"
1111
head_engine_path: "$(var model_path)/pts_backbone_neck_head_$(var model_name).engine"
12+
13+
# post-process params
14+
circle_nms_dist_threshold: 0.5
15+
iou_nms_target_class_names: ["CAR"]
16+
iou_nms_search_distance_2d: 10.0
17+
iou_nms_threshold: 0.1
18+
yaw_norm_thresholds: [0.3, 0.3, 0.3, 0.3, 0.0]
19+
trt_precision: fp16

0 commit comments

Comments
 (0)