forked from ultralytics/yolov5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
running_script.py
32 lines (22 loc) · 1.85 KB
/
running_script.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import subprocess
def run_command(command):
ret = subprocess.run(command, capture_output=True, shell=True)
print(ret.stdout.decode())
command = "python calibrate.py --config 'config/opt/opt_VOC_detect_S_Hyp0.yaml' --where_apply_calib_obj None --where_apply_calib_class None --calibrator 'isotonic'"
run_command(command)
command = "python calibrate.py --config 'config/opt/opt_VOC_detect_S_Hyp0.yaml' --where_apply_calib_obj before_nms --where_apply_calib_class None --calibrator 'isotonic'"
run_command(command)
command = "python calibrate.py --config 'config/opt/opt_VOC_detect_S_Hyp0.yaml' --where_apply_calib_obj after_nms --where_apply_calib_class None --calibrator 'isotonic'"
run_command(command)
command = "python calibrate.py --config 'config/opt/opt_VOC_detect_S_Hyp0.yaml' --where_apply_calib_obj None --where_apply_calib_class before_nms --calibrator 'isotonic'"
run_command(command)
command = "python calibrate.py --config 'config/opt/opt_VOC_detect_S_Hyp0.yaml' --where_apply_calib_obj None --where_apply_calib_class after_nms --calibrator 'isotonic'"
run_command(command)
command = "python calibrate.py --config 'config/opt/opt_VOC_detect_S_Hyp0.yaml' --where_apply_calib_obj before_nms --where_apply_calib_class before_nms --calibrator 'isotonic'"
run_command(command)
command = "python calibrate.py --config 'config/opt/opt_VOC_detect_S_Hyp0.yaml' --where_apply_calib_obj before_nms --where_apply_calib_class after_nms --calibrator 'isotonic'"
run_command(command)
command = "python calibrate.py --config 'config/opt/opt_VOC_detect_S_Hyp0.yaml' --where_apply_calib_obj after_nms --where_apply_calib_class before_nms --calibrator 'isotonic'"
run_command(command)
command = "python calibrate.py --config 'config/opt/opt_VOC_detect_S_Hyp0.yaml' --where_apply_calib_obj after_nms --where_apply_calib_class after_nms --calibrator 'isotonic'"
run_command(command)