Open ktro2828 opened 1 year ago
Finish foundamental implementation.
The following is display of result loaded PerceptionEvaluationConfig
from scenario file in https://github.com/ktro2828/perception_eval_rs/commit/f027815e215703a0471a5341584d92eadce17a5d
It is possible to confirm the following output with examples/config.rs
Config: PerceptionEvaluationConfig { version: "annotation", dataset_path: "tests/sample_data", evaluation_task: Detection, frame_id: BaseLink, result_dir: "./work_dir/20230531_035900", log_dir: "./work_dir/20230531_035900/log", viz_dir: "./work_dir/20230531_035900/visualize", filter_params: FilterParams { target_labels: [Car, Bicycle, Pedestrian, Motorbike], max_x_positions: [100.0, 100.0, 100.0, 100.0], max_y_positions: [100.0, 100.0, 100.0, 100.0], min_point_numbers: Some([0, 0, 0, 0]), target_uuids: None }, metrics_params: MetricsParams { target_labels: [Car, Bicycle, Pedestrian, Motorbike], center_distance_thresholds: [1.0, 1.0, 1.0, 1.0], plane_distance_thresholds: [2.0, 2.0, 2.0, 2.0], iou2d_thresholds: [0.5, 0.5, 0.5, 0.5], iou3d_thresholds: [0.5, 0.5, 0.5, 0.5] }, load_raw_data: false }
What
Add support of loading
PerceptionEvaluationConfig
from scenario file in yaml format. As a first step, we start from support of the scenario file like as below.This is a minimum implementation of scenario, and also a little bit different from original one. Now I am working on this in https://github.com/ktro2828/perception_eval_rs/tree/feat/config-from-yaml.
TODO list
PerceptionEvaluationConfig
from loaded scenario.