-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun.sh
executable file
·85 lines (64 loc) · 3.82 KB
/
run.sh
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#!/bin/bash
dataset="potsdam"
img_size=384
model="swin"
model_size="large"
# ViT PatchFormer Seed 12 COCO
python main.py -pl True -gpu 0 1 2 -ms ${model_size} -d ${dataset} -e 200 -s 12 -lr 1e-4 -m ${model} -n patchformer -wb True -g patchformer -p 1.0 -is ${img_size} &
# ViT PatchFormer Seed 25 COCO
python main.py -gpu 3 4 5 -ms ${model_size} -d ${dataset} -e 200 -s 12 -lr 1e-4 -m ${model} -n baseline -wb True -g baseline -p 1.0 -is ${img_size} &
exit 1
# ViT PatchFormer Seed 42 COCO
python main.py -pl True -gpu 2 -ms ${model_size} -d ${dataset} -e 20 -s 42 -lr 1e-4 -m ${model} -n patchformer -wb True -g patchformer -p 1.0 -is ${img_size} &
# ViT Baseline Seed 12 COCO
python main.py -gpu 3 -ms ${model_size} -d ${dataset} -e 20 -s 12 -lr 1e-4 -m ${model} -n baseline -wb True -g baseline -p 1.0 -is ${img_size} &
exit
# ViT Baseline Seed 25 COCO
python main.py -gpu 4 -ms ${model_size} -d ${dataset} -e 20 -s 25 -lr 1e-4 -m ${model} -n baseline -wb True -g baseline -p 1.0 -is ${img_size} &
# ViT Baseline Seed 42 COCO
python main.py -gpu 5 -ms ${model_size} -d ${dataset} -e 20 -s 42 -lr 1e-4 -m ${model} -n baseline -wb True -g baseline -p 1.0 -is ${img_size} &
exit 1
dataset="potsdam"
img_size=384
model="vit"
model_size="tiny"
# ViT PatchFormer Seed 12 COCO
python main.py -pl True -gpu 6 -ms ${model_size} -d ${dataset} -e 20 -s 12 -lr 1e-4 -m ${model} -n patchformer -wb True -g patchformer -p 1.0 -is ${img_size} &
#
# # ViT PatchFormer Seed 25 COCO
python main.py -pl True -gpu 7 -ms ${model_size} -d ${dataset} -e 20 -s 25 -lr 1e-4 -m ${model} -n patchformer -wb True -g patchformer -p 1.0 -is ${img_size} &
#
# # ViT PatchFormer Seed 42 COCO
python main.py -pl True -gpu 8 -ms ${model_size} -d ${dataset} -e 20 -s 42 -lr 1e-4 -m ${model} -n patchformer -wb True -g patchformer -p 1.0 -is ${img_size} &
#
# # ViT Baseline Seed 12 COCO
python main.py -gpu 9 -ms ${model_size} -d ${dataset} -e 20 -s 12 -lr 1e-4 -m ${model} -n baseline -wb True -g baseline -p 1.0 -is ${img_size} &
#
# # ViT Baseline Seed 25 COCO
python main.py -gpu 10 -ms ${model_size} -d ${dataset} -e 20 -s 25 -lr 1e-4 -m ${model} -n baseline -wb True -g baseline -p 1.0 -is ${img_size} &
#
# # ViT Baseline Seed 42 COCO
python main.py -gpu 11 -ms ${model_size} -d ${dataset} -e 20 -s 42 -lr 1e-4 -m ${model} -n baseline -wb True -g baseline -p 1.0 -is ${img_size} &
model="hiera"
img_size=224
dataset="potsdam"
model_size="tiny"
# # ViT PatchFormer Seed 12 COCO
#python main.py -gpu 3 -d ${dataset} -e 20 -s 12 -lr 1e-4 -m hieradc -n baseline -wb True -g baseline -p 1.0 -is 224 &
#
# # ViT PatchFormer Seed 25 COCO
#python main.py -gpu 4 -d ${dataset} -e 20 -s 25 -lr 1e-4 -m hieradc -n baseline -wb True -g baseline -p 1.0 -is 224 &
# ViT PatchFormer Seed 42 COCO
#python main.py -gpu 5 -d ${dataset} -e 20 -s 42 -lr 1e-4 -m hieradc -n baseline -wb True -g baseline -p 1.0 -is 224 &
# ViT PatchFormer Seed 42 COCO
python main.py -pl True -gpu 12 -ms ${model_size} -d ${dataset} -e 20 -s 12 -lr 1e-4 -m ${model} -n patchformer -wb True -g patchformer -p 1.0 -is ${img_size} &
# # ViT PatchFormer Seed 25 COCO
python main.py -pl True -gpu 13 -ms ${model_size} -d ${dataset} -e 20 -s 25 -lr 1e-4 -m ${model} -n patchformer -wb True -g patchformer -p 1.0 -is ${img_size} &
# ViT PatchFormer Seed 42 COCO
python main.py -pl True -gpu 14 -ms ${model_size} -d ${dataset} -e 20 -s 42 -lr 1e-4 -m ${model} -n patchformer -wb True -g patchformer -p 1.0 -is ${img_size} &
#python main.py -gpu 12 -d ${dataset} -e 20 -s 12 -lr 1e-4 -m swindc -n baseline -wb True -g baseline -p 1.0 -is 384 &
#
# # ViT PatchFormer Seed 25 COCO
#python main.py -gpu 13 -d ${dataset} -e 20 -s 25 -lr 1e-4 -m swindc -n baseline -wb True -g baseline -p 1.0 -is 384 &
# ViT PatchFormer Seed 42 COCO
#python main.py -gpu 14 -d ${dataset} -e 20 -s 42 -lr 1e-4 -m swindc -n baseline -wb True -g baseline -p 1.0 -is 384 &