105 lines
2.1 KiB
YAML
Executable File
105 lines
2.1 KiB
YAML
Executable File
# Evaluation configuration for merged dual-ROI results.
|
|
# This keeps single-ROI configs unchanged and enables merged evaluation only
|
|
# when roi_gt.rois + model.input_size_by_roi are provided together.
|
|
|
|
dataset:
|
|
det_path: "/data1/dongying/Mono3d/G1M3/cases_regular/model_20260317"
|
|
gt_path: "/data1/dongying/Mono3d/G1M3/Testdata_0129_alignment"
|
|
path_depth: 1
|
|
det_format: "json"
|
|
gt_format: "json"
|
|
|
|
image:
|
|
width: 1920
|
|
height: 1080
|
|
|
|
model:
|
|
input_size_by_roi:
|
|
roi0: 768
|
|
roi1: 768
|
|
min_box_size_at_input_scale: 8
|
|
|
|
performance:
|
|
num_workers: 32
|
|
|
|
roi_gt:
|
|
enabled: true
|
|
calib_root: "/data1/dongying/Mono3d/G1M3/Testdata_0129_alignment"
|
|
rois:
|
|
roi0:
|
|
roi_config: [1920, 960]
|
|
roi_bottom_offset: 80
|
|
roi_right_offset: 0
|
|
roi_use_true_vp_x: false
|
|
roi1:
|
|
roi_config: [768, 352]
|
|
roi_bottom_offset: 0
|
|
roi_right_offset: 0
|
|
roi_use_true_vp_x: true
|
|
|
|
classes:
|
|
3d_classes: [0, 1, 2, 3, 4, 5, 6, 7, 8] # vehicle, bus, truck, tanker, unknown, pedestrian, bicycle, motorcyclist, tricycle
|
|
2d_classes: [9, 10, 11, 12] # traffic_sign, wheel, plate, face
|
|
class_names:
|
|
0: "vehicle"
|
|
1: "bus"
|
|
2: "truck"
|
|
3: "tanker"
|
|
4: "unknown"
|
|
5: "pedestrian"
|
|
6: "bicycle"
|
|
7: "motorcyclist"
|
|
8: "tricycle"
|
|
9: "traffic_sign"
|
|
10: "wheel"
|
|
11: "plate"
|
|
12: "face"
|
|
|
|
matching:
|
|
iou_threshold: 0.5
|
|
|
|
metrics_2d:
|
|
enabled: true
|
|
conf_threshold: 0.4
|
|
ap_method: "voc2010"
|
|
distance_ranges:
|
|
- [0, 30]
|
|
- [30, 60]
|
|
- [60, 100]
|
|
- [100, 999]
|
|
lateral_roi: [-15, 15]
|
|
|
|
metrics_3d:
|
|
enabled: true
|
|
coordinate_system: "ego"
|
|
heading_tolerance: "both"
|
|
distance_ranges:
|
|
- [0, 10]
|
|
- [10, 20]
|
|
- [20, 30]
|
|
- [30, 40]
|
|
- [40, 50]
|
|
- [50, 60]
|
|
- [60, 70]
|
|
- [70, 80]
|
|
- [80, 90]
|
|
- [90, 100]
|
|
- [100, 999]
|
|
lateral_distance_ranges:
|
|
- [-50, -40]
|
|
- [-40, -30]
|
|
- [-30, -20]
|
|
- [-20, -10]
|
|
- [-10, 0]
|
|
- [0, 10]
|
|
- [10, 20]
|
|
- [20, 30]
|
|
- [30, 40]
|
|
- [40, 50]
|
|
|
|
output:
|
|
save_path: "eval_results_multiprocess/yolov5s_merged/{timestamp}"
|
|
formats: ["json", "txt"]
|
|
print_details: true
|
|
per_case_reports: true
|