-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtable5.sh
executable file
·66 lines (54 loc) · 3.32 KB
/
table5.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
#!/bin/bash
# script for table 4
###########################################################################################################
# protocol 1
CUDA_VISIBLE_DEVICES=2 python ./src/main_lift.py \
-dataset_test 'h36m' -dataset_train 'h36m' -protocol 1 -noise 4 -canonical \
-noise_path 'test_h36m_protocol0/resnet152-int/train_h36m_mpii/rmsprop_lr1.0e-05_batch48_weight1.0e+00/analysis/stat_2d_em1.pth' \
-network 'resnet' -mode 1 -num_layers 2 -num_features 4096 \
-opt_method rmsprop -lr 1e-3 -num_epochs 300 -batch_size 64
CUDA_VISIBLE_DEVICES=1,2,3 python ./src/main_2d.py \
-dataset_test 'h36m' -dataset_train 'h36m_mpii' -protocol 1 -multi_gpu \
-network 'resnet152' \
-opt_method 'rmsprop' -lr 1e-4 \
-num_epochs 50 -batch_size 48
CUDA_VISIBLE_DEVICES=1,2,3 python ./src/main_2d.py \
-dataset_test 'h36m' -dataset_train 'h36m_mpii' -protocol 1 -multi_gpu \
-network 'resnet152' -integral 1 -weight1 1e0 \
-model_2d_path 'test_h36m_protocol1/resnet152/train_h36m_mpii/rmsprop_lr1.0e-04_batch48/final_model.pth' \
-opt_method 'rmsprop' -lr 1e-5 \
-num_epochs 10 -batch_size 48
CUDA_VISIBLE_DEVICES=2 python ./src/main_2d.py \
-dataset_test 'h36m' -dataset_train 'h36m_mpii' -protocol 1 -fliptest \
-network 'resnet152' \
-model_2d_path 'test_h36m_protocol1/resnet152-int/train_h36m_mpii/rmsprop_lr1.0e-05_batch48_weight1.0e+00/final_model.pth' \
-lift3d 2 -dataset3d 'h36m' -mode 1 -num_features 4096 -noise 4 \
-model_lift_path 'test_h36m_protocol1/resnet3dr-canonical/train_h36m_noise4/mode1_nLayer2_nFeat4096_rmsprop_lr1.0e-03_batch64/final_model.pth' \
-opt_method 'rmsprop' -lr 1e-5 \
-num_epochs 0 -batch_size 64
###########################################################################################################
# protocol 2
CUDA_VISIBLE_DEVICES=2 python ./src/main_lift.py \
-dataset_test 'h36m' -dataset_train 'h36m' -protocol 2 -noise 4 -canonical \
-noise_path 'test_h36m_protocol0/resnet152-int/train_h36m_mpii/rmsprop_lr1.0e-05_batch48_weight1.0e+00/analysis/stat_2d_em1.pth' \
-network 'resnet' -mode 1 -num_layers 2 -num_features 4096 \
-opt_method rmsprop -lr 1e-3 -num_epochs 300 -batch_size 64
CUDA_VISIBLE_DEVICES=1,2,3 python ./src/main_2d.py \
-dataset_test 'h36m' -dataset_train 'h36m_mpii' -protocol 2 -multi_gpu \
-network 'resnet152' \
-opt_method 'rmsprop' -lr 1e-4 \
-num_epochs 50 -batch_size 48
CUDA_VISIBLE_DEVICES=1,2,3 python ./src/main_2d.py \
-dataset_test 'h36m' -dataset_train 'h36m_mpii' -protocol 2 -multi_gpu \
-network 'resnet152' -integral 1 -weight1 1e0 \
-model_2d_path 'test_h36m_protocol1/resnet152/train_h36m_mpii/rmsprop_lr1.0e-04_batch48/final_model.pth' \
-opt_method 'rmsprop' -lr 1e-5 \
-num_epochs 10 -batch_size 48
CUDA_VISIBLE_DEVICES=2 python ./src/main_2d.py \
-dataset_test 'h36m' -dataset_train 'h36m_mpii' -protocol 2 -fliptest \
-network 'resnet152' \
-model_2d_path 'test_h36m_protocol2/resnet152-int/train_h36m_mpii/rmsprop_lr1.0e-05_batch48_weight1.0e+00/final_model.pth' \
-lift3d 2 -dataset3d 'h36m' -mode 1 -num_features 4096 -noise 4 \
-model_lift_path 'test_h36m_protocol2/resnet3dr-canonical/train_h36m_noise4/mode1_nLayer2_nFeat4096_rmsprop_lr1.0e-03_batch64/final_model.pth' \
-opt_method 'rmsprop' -lr 1e-5 \
-num_epochs 0 -batch_size 64