-
Notifications
You must be signed in to change notification settings - Fork 0
/
train.sh
64 lines (52 loc) · 4.65 KB
/
train.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
# # # **************** 1.Supernet Training ********************************
# # ********For GREW ****************
#CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python -u -m torch.distributed.launch --nproc_per_node=8 \\
#opengait/main.py --cfgs configs/sposgait/retrain/sposgait_large_GREW_supertraining_triplet.yaml
# # ********For CASIA-B ****************
#CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python -u -m torch.distributed.launch --nproc_per_node=8 \\
#opengait/main.py --cfgs configs/sposgait/sposgait_small_CASIAB_supertraining_2loss.yaml
# # # ****************2. Searching **************************************
# # *******For CASIA-B ****************
#CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python -u -m torch.distributed.launch --nproc_per_node=8 \\
#opengait/search.py --cfgs configs/sposgait/sposgait_small_CASIAB_supertraining_2loss.yaml --max-epochs 2
# # *******For GREW ****************
# SPOSGait-Small
#CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python -u -m torch.distributed.launch --nproc_per_node=8 \\
#opengait/search.py --cfgs configs/sposgait/sposgait_small_GREW_supertraining_triplet.yaml --max-epochs 2
# SPOSGait-Medium
#CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python -u -m torch.distributed.launch --nproc_per_node=8 \\
#opengait/search.py --cfgs configs/sposgait/sposgait_medium_GREW_supertraining_triplet.yaml --max-epochs 10
# SPOSGait-Large
#CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python -u -m torch.distributed.launch --nproc_per_node=8 \\
#opengait/search.py --cfgs configs/sposgait/sposgait_large_GREW_supertraining_triplet.yaml --max-epochs 20
# # # ****************3.Retraining *****************************************
# # *******For OUMVLP ****************
#CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python -u -m torch.distributed.launch --nproc_per_node=8 opengait/main.py --cfgs ./configs/sposgait/retrain/sposgait_large_OUMVLP_retrain.yaml
# # *******For Gait3D ****************
#CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python -u -m torch.distributed.launch --nproc_per_node=8 \\
# opengait/main.py --cfgs ./configs/sposgait/retrain/sposgait_large_Gait3D_retrain.yaml
# # *******For GREW ****************
# SPOSGait-Small
#CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python -u -m torch.distributed.launch --nproc_per_node=8 \\
# opengait/main.py --cfgs configs/sposgait/retrain/sposgait_small_GREW-train500id_retrain.yaml
# CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python -u -m torch.distributed.launch --nproc_per_node=8 \\
# opengait/main.py --cfgs configs/sposgait/retrain/sposgait_small_GREW-train5000id_retrain.yaml
#CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python -u -m torch.distributed.launch --nproc_per_node=8 \\
# opengait/main.py --cfgs configs/sposgait/retrain/sposgait_small_GREW-train20000id_retrain.yaml
# SPOSGait-Medium
# CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python -u -m torch.distributed.launch --nproc_per_node=8 \\
# opengait/main.py --cfgs ./configs/sposgait/retrain/sposgait_medium_GREW-500id_retrain.yaml
#CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python -u -m torch.distributed.launch --nproc_per_node=8 \\
# opengait/main.py --cfgs ./configs/sposgait/retrain/sposgait_medium_GREW-5000id_retrain.yaml
#CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python -u -m torch.distributed.launch --nproc_per_node=8 \\
# opengait/main.py --cfgs ./configs/sposgait/retrain/sposgait_medium_GREW-20000id_retrain.yaml
# SPOSGait-Large
# CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python -u -m torch.distributed.launch --nproc_per_node=8 \\
# opengait/main.py --cfgs configs/sposgait/retrain/sposgait_large_GREW-train500id_retrain.yaml
# CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python -u -m torch.distributed.launch --nproc_per_node=8 \\
# opengait/main.py --cfgs configs/sposgait/retrain/sposgait_large_GREW-train5000id_retrain.yaml
CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 python -u -m torch.distributed.launch --nproc_per_node=8 \\
opengait/main.py --cfgs configs/sposgait/retrain/sposgait_large_GREW-train20000id_retrain.yaml
CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 nohup python -u -m torch.distributed.launch --nproc_per_node=8 --master_port 29501 opengait/main.py --cfgs configs/sposgait/retrain/sposgait_large_GREW-train500id_retrain.yaml > output/GREW/logs/sposgait_large_GREW-train500id.log &
CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 nohup python -u -m torch.distributed.launch --nproc_per_node=8 --master_port 29501 opengait/main.py --cfgs configs/sposgait/retrain/sposgait_medium_GREW-500id_retrain.yaml > output/GREW/logs/sposgait_medium_GREW-train500id.log &
CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 nohup python -u -m torch.distributed.launch --nproc_per_node=8 --master_port 29501 opengait/main.py --cfgs configs/sposgait/retrain/sposgait_small_GREW-train20000id_retrain.yaml > output/GREW/logs/sposgait_small_GREW-train2000id.log &