-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathMakefile.train
More file actions
75 lines (73 loc) · 6.19 KB
/
Makefile.train
File metadata and controls
75 lines (73 loc) · 6.19 KB
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
DATA_LOC=-idl "/data1/public_datasets/plant_seedlings/training_data"
MIXUP=-mx
MIXUP_ALPHA=-mxal 0.1
SAVE_LOC="models/"
NUM_EPOCHS=-ep 100
all: resnets densenets squeezenets inceptions_v3 vggs_base vggs_bn alexnets inceptionresnets resnext inceptions_bn nasnets
echo "Training all nets are done"
resnets:
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "resnet18" $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "resnet18" -f $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "resnet34" $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "resnet34" -f $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "resnet50" $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "resnet50" -f $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "resnet101" $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "resnet101" -f $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "resnet152" $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "resnet152" -f $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
densenets:
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "densenet121" $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "densenet121" -f $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "densenet169" $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "densenet169" -f $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "densenet201" $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "densenet201" -f $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
squeezenets:
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "squeezenet1_0" -f $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "squeezenet1_0" $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "squeezenet1_1" $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "squeezenet1_1" -f $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
inceptions_v3:
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "inception_v3" $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA) -is 299
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "inception_v3" -f $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA) -is 299
vggs_base:
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "vgg11" $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "vgg11" -f $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "vgg13" $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "vgg13" -f $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "vgg16" $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "vgg16" -f $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "vgg19" $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "vgg19" -f $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
vggs_bn:
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "vgg11_bn" $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "vgg11_bn" -f $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "vgg13_bn" $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "vgg13_bn" -f $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "vgg16_bn" $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "vgg16_bn" -f $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "vgg19_bn" $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "vgg19_bn" -f $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
alexnets:
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "alexnet" $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "alexnet" -f $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA)
inceptionresnets:
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "inceptionresnetv2" $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA) -is 299 -b 16
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "inceptionresnetv2" -f $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA) -is 299 -b 16
inceptions_v4:
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "inceptionv4" $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA) -is 299 -b 16
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "inceptionv4" -f $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA) -is 299 -b 16
inceptions_bn:
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "bninception" $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA) -b 16
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "bninception" -f $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA) -b 16
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "inception_v3" $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA) -is 299
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "inception_v3" -f $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA) -is 299
resnext:
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "resnext101_64x4d" $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA) -b 16
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "resnext101_64x4d" -f $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA) -b 16
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "resnext101_32x4d" $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA) -b 16
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "resnext101_32x4d" -f $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA) -b 16
nasnets:
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "nasnetalarge" $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA) -is 331 -b 8
python tars_train.py $(DATA_LOC) -sl $(SAVE_LOC) -mo "nasnetalarge" -f $(NUM_EPOCHS) $(MIXUP) $(MIXUP_ALPHA) -is 331 -b 8