-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathallrun_zurich_Tuncert3.py
40 lines (37 loc) · 1.7 KB
/
allrun_zurich_Tuncert3.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
33
34
35
36
37
38
39
40
'''
2024.5.12: test the scale sensitivity. The range is o.6
2024.5.27: use mix version for threshold testing
'''
import os
os.environ['CUDA_VISIBLE_DEVICES'] = "0"
if __name__=="__main__":
# city = "Zurich"
# city = "Vaihingen"
'''
citylist = ["Zurich", "Vaihingen"]
backbone = "effiSAM"
method = "UTELT"
for city in citylist:
tlist = [0.6, 0.7, 0.8, 1.0]
# tlist = [0, 0.1, 0.2, 0.3, 0.4, 0.5]
# t=1.0: i.e., totally use
for t in tlist:
os.system(f"python all_UTELT.py --city {city} --mode 1 --id 1 --backbone {backbone} --method {method} --tel_sigma 0.02 "
f"--Tuncert {t} --subdir /scale")
'''
citylist = ["uavid", ]
backbone = "effiSAM"
method = "UTELT"
ttype = "_mix"
for city in citylist:
# tlist = [0.8, 0.9, 1.0] #[0.6, 0.7] # , 0.8, 1.0]
# tlist = [0, 0.1, 0.2, 0.3, 0.4, 0.5]
# t=1.0: i.e., totally use
tlist = [0.3, 0.4, 0.5]
for t in tlist:
# os.system(f"python all_{method}{ttype}.py --city {city} --mode 1 --id 1 --backbone {backbone} --method {method} --tel_sigma 0.02 "
# f"--Tuncert {t} --subdir /tulog --suffix {ttype}_bs8 --input_size_train 1024,1024 --input_size_test 1024,1024 "
# f"--batch_size 8 --num_workers 4 --iscolor True")
os.system(f"python all_{method}{ttype}.py --city {city} --mode 1 --id 1 --backbone {backbone} --method {method} --tel_sigma 0.02 "
f"--Tuncert {t} --subdir /tu_log2 --suffix {ttype}_bs8 --input_size_train 1024,1024 --input_size_test 1024,1024 "
f"--batch_size 8 --num_workers 4 --iscolor True --log_num_classes 2")