-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
59 lines (51 loc) · 1.1 KB
/
Copy pathconfig.yaml
File metadata and controls
59 lines (51 loc) · 1.1 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
general:
seed: 42
device: "cuda:0" # Options: "cuda:0", "cpu"
outputDir: "outputs"
# Input settings
input:
input_size: # Image dimensions, defined as tuple in yaml file instead of post-read process from str to tuple
- 299
- 299
batch_size: 4
data_transforms:
train:
run: True
normalize:
mean: [0.485, 0.456, 0.406]
std: [0.229, 0.224, 0.225]
random_horizontal_flip: true
random_rotation: 20
color_jitter:
brightness: 0.5
contrast: 0.2
saturation: 0.2
hue: 0.2
val:
normalize:
mean: [0.485, 0.456, 0.406]
std: [0.229, 0.224, 0.225]
dataset:
path: "data"
classes_file: "classnames.txt"
name: "Apple-Orange-Banana"
version: 10
# Training settings
training:
epochs: 25
optimizer: "Adam"
criterion: "CrossEntropy"
learning_rate: 0.0001
scheduler:
step_size: 7
gamma: 0.1
early_stopping:
patience: 5
model:
type: "InceptionV3"
# Logging settings
logging:
experiment_name: "Fruits Classification"
mlflow_uri: "http://127.0.0.1:9090"
log_artifacts: True
log_manual_system_metrics: False