forked from autowarefoundation/autoware.universe
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(traffic_light_fine_detector_and_classifier): rework parameters (a…
…utowarefoundation#6216) * chore: use config Signed-off-by: tzhong518 <[email protected]> * style(pre-commit): autofix * chore: move build only back Signed-off-by: tzhong518 <[email protected]> --------- Signed-off-by: tzhong518 <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
191b3db
commit 7d7b547
Showing
9 changed files
with
123 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
perception/traffic_light_classifier/config/car_traffic_light_classifier.param.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/**: | ||
ros__parameters: | ||
approximate_sync: false | ||
classifier_label_path: "$(var traffic_light_classifier_model_path)/$(var car_traffic_light_classifier_label_name)" | ||
classifier_model_path: "$(var traffic_light_classifier_model_path)/$(var car_traffic_light_classifier_model_name).onnx" | ||
classifier_precision: fp16 | ||
classifier_mean: [123.675, 116.28, 103.53] | ||
classifier_std: [58.395, 57.12, 57.375] | ||
backlight_threshold: 0.85 | ||
classifier_type: 1 #classifier_type {hsv_filter: 0, cnn: 1} | ||
classify_traffic_light_type: 0 #classify_traffic_light_type {car: 0, pedestrian:1} |
11 changes: 11 additions & 0 deletions
11
perception/traffic_light_classifier/config/pedestrian_traffic_light_classifier.param.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/**: | ||
ros__parameters: | ||
approximate_sync: false | ||
classifier_label_path: "$(var traffic_light_classifier_model_path)/$(var pedestrian_traffic_light_classifier_label_name)" | ||
classifier_model_path: "$(var traffic_light_classifier_model_path)/$(var pedestrian_traffic_light_classifier_model_name).onnx" | ||
classifier_precision: fp16 | ||
classifier_mean: [123.675, 116.28, 103.53] | ||
classifier_std: [58.395, 57.12, 57.375] | ||
backlight_threshold: 0.85 | ||
classifier_type: 1 #classifier_type {hsv_filter: 0, cnn: 1} | ||
classify_traffic_light_type: 1 #classify_traffic_light_type {car: 0, pedestrian:1} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
perception/traffic_light_fine_detector/config/traffic_light_fine_detector.param.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/**: | ||
ros__parameters: | ||
fine_detector_label_path: "$(var traffic_light_fine_detector_model_path)/$(var traffic_light_fine_detector_label_name)" | ||
fine_detector_model_path: "$(var traffic_light_fine_detector_model_path)/$(var traffic_light_fine_detector_model_name).onnx" | ||
fine_detector_precision: fp16 | ||
fine_detector_score_thresh: 0.3 | ||
fine_detector_nms_thresh: 0.65 |
Oops, something went wrong.