-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathauto_train.py
More file actions
89 lines (81 loc) · 1.65 KB
/
auto_train.py
File metadata and controls
89 lines (81 loc) · 1.65 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
import subprocess
print("ResNet18_FULL...")
subprocess.run([
"python",
"train.py",
"--ResConnection", "1",
"--BatchNorm", "1",
"--ModelName", "ResNet18_FULL",
"--Depth", "18",
"--Seed", "42",
])
print("ResNet18_Nbn...")
subprocess.run([
"python",
"train.py",
"--ResConnection", "1",
"--BatchNorm", "0",
"--ModelName", "ResNet18_Nbn",
"--Depth", "18",
"--Seed", "42",
])
print("ResNet18_Nres...")
subprocess.run([
"python",
"train.py",
"--ResConnection", "0",
"--BatchNorm", "1",
"--ModelName", "ResNet18_Nres",
"--Depth", "18",
"--Seed", "42",
])
print("ResNet18_Nboth...")
subprocess.run([
"python",
"train.py",
"--ResConnection", "0",
"--BatchNorm", "0",
"--ModelName", "ResNet18_Nboth",
"--Depth", "18",
"--Seed", "42",
])
print("ResNet50_FULL...")
subprocess.run([
"python",
"train.py",
"--ResConnection", "1",
"--BatchNorm", "1",
"--ModelName", "ResNet50_FULL",
"--Depth", "50",
"--Seed", "42",
])
print("ResNet50_Nbn...")
subprocess.run([
"python",
"train.py",
"--ResConnection", "1",
"--BatchNorm", "0",
"--ModelName", "ResNet50_Nbn",
"--Depth", "50",
"--Seed", "42",
])
print("ResNet50_Nres...")
subprocess.run([
"python",
"train.py",
"--ResConnection", "0",
"--BatchNorm", "1",
"--ModelName", "ResNet50_Nres",
"--Depth", "50",
"--Seed", "42",
])
print("ResNet50_Nboth...")
subprocess.run([
"python",
"train.py",
"--ResConnection", "0",
"--BatchNorm", "0",
"--ModelName", "ResNet50_Nboth",
"--Depth", "50",
"--Seed", "42",
])