forked from ioannislivieris/Grad_CAM_Siamese
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yml
More file actions
46 lines (46 loc) · 1.04 KB
/
config.yml
File metadata and controls
46 lines (46 loc) · 1.04 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
data_path: 'Data/Flowers'
number_of_iterations: 1
# Model name
backbone_model: 'ResNet50' # MobileNet, ResNet50
pretrained: True
checkpoints_path: 'checkpoints/Flowers'
test_size: 0.1
valid_size: 0.1
# Image processing
image:
size: [320, 320] # [600, 400] # [320, 320] # [1200, 800]
normalization:
mean: [0.485, 0.456, 0.406]
std: [0.229, 0.224, 0.225]
Channels: 3
HorizontalFlip: 0.5 # Probability
VerticalFlip: 0.5 # Probability
RandomRotationDegrees: 45 # Degrees
brightness: 0.0
contrast: 0.0
saturation: 0.0
hue: 0.0
# Training model hyperparameters
hyperparameters:
epochs: 100
verbose: True
batch_size: 4
num_workers: 0
optimizer: 'Adam' # Choices: SGD, Adam, AdamW
learning_rate: 5e-6
weight_decay: 0.01
momentum: 0.9
nesterov: False
max_norm: 1.0
early_stopping:
patience: 25
min_delta: 0.00000001
LRScheduler:
patience: 15
min_lr: 0.00000001
factor: 0.5
verbose: True
# Other parameters
seed: 42
cuda: True
gpu: 0