-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtrain_models.sh
executable file
·54 lines (27 loc) · 1.21 KB
/
train_models.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
#!/bin/bash
echo "Training plant models"
echo "Training ResNet18 multiclass for plant"
python3 train.py -m resnet18 -d plant
echo "Training ResNet18 binary for plant"
python3 train.py -m resnet18 -d plant -b -bl 3
echo "Training Inception V3 multiclass for plant"
python3 train.py -m inception_v3 -d plant
echo "Training Inception V3 binary for plant"
python3 train.py -m inception_v3 -d plant -b -bl 3
echo "Training Vision Transformer multiclass for plant"
python3 train.py -m vision_transformer -d plant
echo "Training Vision Transformer binary for plant"
python3 train.py -m vision_transformer -d plant -b -bl 3
echo "Training leaf models"
echo "Training ResNet18 multiclass for leaf"
python3 train.py -m resnet18 -d leaf
echo "Training ResNet18 binary for leaf"
python3 train.py -m resnet18 -d leaf -b -bl 3
echo "Training Inception V3 multiclass for leaf"
python3 train.py -m inception_v3 -d leaf
echo "Training Inception V3 binary for leaf"
python3 train.py -m inception_v3 -d leaf -b -bl 3
echo "Training Vision Transformer multiclass for leaf"
python3 train.py -m vision_transformer -d leaf
echo "Training Vision Transformer binary for leaf"
python3 train.py -m vision_transformer -d leaf -b -bl 3