forked from autowarefoundation/autoware.universe
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1809 from tier4/sync-awf-latest
chore: sync awf-latest
- Loading branch information
Showing
5 changed files
with
89 additions
and
27 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
71 changes: 71 additions & 0 deletions
71
...ption/autoware_traffic_light_fine_detector/schema/traffic_light_fine_detector.schema.json
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,71 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "autoware_traffic_light_fine_detector parameter", | ||
"type": "object", | ||
"definitions": { | ||
"traffic_light_fine_detector": { | ||
"type": "object", | ||
"properties": { | ||
"fine_detector_label_path": { | ||
"type": "string", | ||
"description": "The label file with label names for detected objects written on it.", | ||
"default": "$(var traffic_light_fine_detector_model_path)/$(var traffic_light_fine_detector_label_name)" | ||
}, | ||
"fine_detector_model_path": { | ||
"type": "string", | ||
"description": "The ONNX file name for the YOLO model.", | ||
"default": "$(var traffic_light_fine_detector_model_path)/$(var traffic_light_fine_detector_model_name).onnx" | ||
}, | ||
"fine_detector_precision": { | ||
"type": "string", | ||
"description": "Precision used for traffic light fine detector inference. Valid values: [fp32, fp16].", | ||
"default": "fp16" | ||
}, | ||
"fine_detector_score_thresh": { | ||
"type": "number", | ||
"description": "If the objectness score is less than this value, the object is ignored.", | ||
"default": 0.3 | ||
}, | ||
"fine_detector_nms_thresh": { | ||
"type": "number", | ||
"description": "IoU threshold to perform Non-Maximum Suppression (NMS).", | ||
"default": 0.65 | ||
}, | ||
"approximate_sync": { | ||
"type": "boolean", | ||
"description": "Flag for whether to use approximate sync policy.", | ||
"default": false | ||
}, | ||
"gpu_id": { | ||
"type": "integer", | ||
"description": "ID for selecting the CUDA GPU device.", | ||
"default": 0 | ||
} | ||
}, | ||
"required": [ | ||
"fine_detector_label_path", | ||
"fine_detector_model_path", | ||
"fine_detector_precision", | ||
"fine_detector_score_thresh", | ||
"fine_detector_nms_thresh", | ||
"approximate_sync", | ||
"gpu_id" | ||
], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"properties": { | ||
"/**": { | ||
"type": "object", | ||
"properties": { | ||
"ros__parameters": { | ||
"$ref": "#/definitions/traffic_light_fine_detector" | ||
} | ||
}, | ||
"required": ["ros__parameters"], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"required": ["/**"], | ||
"additionalProperties": false | ||
} |
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