-
Notifications
You must be signed in to change notification settings - Fork 15
/
train_student_cifar.sh
114 lines (94 loc) · 4.76 KB
/
train_student_cifar.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# using the teacher network of the version of a frozen backbone
python train_student_cifar.py \
--tarch wrn_40_2_aux \
--arch wrn_16_2_aux \
--tcheckpoint ./checkpoint/train_teacher_cifar_arch_wrn_40_2_aux_dataset_cifar100_seed0/wrn_40_2_aux.pth.tar \
--checkpoint-dir ./checkpoint \
--data ./data \
--gpu 0 --manual 0
python train_student_cifar.py --tarch wrn_40_2_aux --arch wrn_40_1_aux \
--tcheckpoint ./checkpoint/train_teacher_cifar_arch_wrn_40_2_aux_dataset_cifar100_seed0/wrn_40_2_aux.pth.tar \
--checkpoint-dir ./checkpoint \
--data /home/ycg/hhd/dataset/ \
--gpu 2 --manual 0
python train_student_cifar.py --tarch wrn_40_2_aux --arch ShuffleV1_aux \
--tcheckpoint ./checkpoint/train_teacher_cifar_arch_wrn_40_2_aux_dataset_cifar100_seed0/wrn_40_2_aux.pth.tar \
--checkpoint-dir ./checkpoint \
--data /home/ycg/hhd/dataset/ \
--init-lr 0.01 \
--gpu 2 --manual 0
python train_student_cifar.py --tarch resnet32x4_aux --arch resnet8x4_aux \
--tcheckpoint ./checkpoint/train_teacher_cifar_arch_resnet32x4_aux_dataset_cifar100_seed0/resnet32x4_aux.pth.tar \
--checkpoint-dir ./checkpoint \
--data /home/ycg/hhd/dataset/ \
--gpu 2 --manual 0
python train_student_cifar.py --tarch resnet56_aux --arch resnet20_aux \
--tcheckpoint ./checkpoint/train_teacher_cifar_arch_resnet56_aux_dataset_cifar100_seed0/resnet56_aux.pth.tar \
--checkpoint-dir ./checkpoint \
--data /home/ycg/hhd/dataset/ \
--gpu 2 --manual 0
python train_student_cifar.py --tarch vgg13_bn_aux --arch mobilenetV2_aux \
--tcheckpoint ./checkpoint/train_teacher_cifar_arch_vgg13_bn_aux_dataset_cifar100_seed0/vgg13_bn_aux.pth.tar \
--checkpoint-dir ./checkpoint \
--data /home/ycg/hhd/dataset/ \
--init-lr 0.01 \
--gpu 2 --manual 0
python train_student_cifar.py --tarch ResNet50_aux --arch mobilenetV2_aux \
--tcheckpoint ./checkpoint/train_teacher_cifar_arch_ResNet50_aux_dataset_cifar100_seed0/ResNet50_aux.pth.tar \
--checkpoint-dir ./checkpoint \
--data /home/ycg/hhd/dataset/ \
--init-lr 0.01 \
--gpu 2 --manual 0
python train_student_cifar.py --tarch resnet32x4_aux --arch ShuffleV2_aux \
--tcheckpoint ./checkpoint/train_teacher_cifar_arch_resnet32x4_aux_dataset_cifar100_seed0/resnet32x4_aux.pth.tar \
--checkpoint-dir ./checkpoint \
--data /home/ycg/hhd/dataset/ \
--init-lr 0.01 \
--gpu 2 --manual 0
# using the teacher network of the joint training version
python train_student_cifar.py --tarch wrn_40_2_aux --arch wrn_40_1_aux \
--tcheckpoint ./checkpoint/train_teacher_cifar_arch_wrn_40_2_aux_dataset_cifar100_seed1/wrn_40_2_aux.pth.tar \
--checkpoint-dir ./checkpoint \
--data /home/ycg/hhd/dataset/ \
--gpu 2 --manual 0
python train_student_cifar.py \
--tarch wrn_40_2_aux \
--arch wrn_16_2_aux \
--tcheckpoint ./checkpoint/train_teacher_cifar_arch_wrn_40_2_aux_dataset_cifar100_seed1/wrn_40_2_aux.pth.tar \
--checkpoint-dir ./checkpoint \
--data ./data \
--gpu 0 --manual 0
python train_student_cifar.py --tarch wrn_40_2_aux --arch ShuffleV1_aux \
--tcheckpoint ./checkpoint/train_teacher_cifar_arch_wrn_40_2_aux_dataset_cifar100_seed1/wrn_40_2_aux.pth.tar \
--checkpoint-dir ./checkpoint \
--data /home/ycg/hhd/dataset/ \
--init-lr 0.01 \
--gpu 2 --manual 0
python train_student_cifar.py --tarch resnet32x4_aux --arch resnet8x4_aux \
--tcheckpoint ./checkpoint/train_teacher_cifar_arch_resnet32x4_aux_dataset_cifar100_seed1/resnet32x4_aux.pth.tar \
--checkpoint-dir ./checkpoint \
--data /home/ycg/hhd/dataset/ \
--gpu 2 --manual 0
python train_student_cifar.py --tarch resnet56_aux --arch resnet20_aux \
--tcheckpoint ./checkpoint/train_teacher_cifar_arch_resnet56_aux_dataset_cifar100_seed1/resnet56_aux.pth.tar \
--checkpoint-dir ./checkpoint \
--data /home/ycg/hhd/dataset/ \
--gpu 2 --manual 0
python train_student_cifar.py --tarch vgg13_bn_aux --arch mobilenetV2_aux \
--tcheckpoint ./checkpoint/train_teacher_cifar_arch_vgg13_bn_aux_dataset_cifar100_seed1/vgg13_bn_aux.pth.tar \
--checkpoint-dir ./checkpoint \
--data /home/ycg/hhd/dataset/ \
--init-lr 0.01 \
--gpu 2 --manual 0
python train_student_cifar.py --tarch ResNet50_aux --arch mobilenetV2_aux \
--tcheckpoint ./checkpoint/train_teacher_cifar_arch_ResNet50_aux_dataset_cifar100_seed1/ResNet50_aux.pth.tar \
--checkpoint-dir ./checkpoint \
--data /home/ycg/hhd/dataset/ \
--init-lr 0.01 \
--gpu 2 --manual 0
python train_student_cifar.py --tarch resnet32x4_aux --arch ShuffleV2_aux \
--tcheckpoint ./checkpoint/train_teacher_cifar_arch_resnet32x4_aux_dataset_cifar100_seed1/resnet32x4_aux.pth.tar \
--checkpoint-dir ./checkpoint \
--data /home/ycg/hhd/dataset/ \
--init-lr 0.01 \
--gpu 2 --manual 0