-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yml
More file actions
95 lines (91 loc) · 1.81 KB
/
config.yml
File metadata and controls
95 lines (91 loc) · 1.81 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
90
91
92
93
94
95
paths:
images: "data/bmodes"
splits: "splits"
model_weights: "results/models"
data:
height: 224
width: 224
min_pixel_value: 0.0
max_pixel_value: 255.0
num_channels: 3
us_mode: 'mmode'
pretrain:
seed: 11
epochs: 500
batch_size: 384
optimizer: 'lars'
init_lr: 0.2
warmup_epochs: 2 #10 #30
weight_decay: 0.000001
extractor: 'mobilenetv3'
proj_nodes: [768, 768]
use_bias: true
imagenet_weights: true
use_unlabelled: true
method: "ncus_vicreg"
augment_pipeline: "ncus"
n_cutoff_layers: 0
hparams:
simclr:
tau: 0.1
barlow_twins:
lambda_: 0.005
vicreg:
lambda_: 25.0
mu: 25.0
nu: 1.0
ncus_vicreg:
lambda_: 25.0
mu: 25.0
nu: 1.0
max_time_delta: 0.5
max_x_delta: 10
sample_weights: true
ncus_barlow_twins:
lambda_: 0.005
max_time_delta: 3
max_x_delta: 15
sample_weights: false
ncus_simclr:
tau: 0.1
max_time_delta: 1.5
max_x_delta: 10
sample_weights: true
train:
experiment: 'fine-tune'
folds: 5
seed: 1
extractor_type: 'mobilenetv3'
label: 'ab_lines_label'
prop_train: 1.0
extractor_weights: 'final_model.pth' #'imagenet'
batch_size: 384
n_cutoff_layers: 0
epochs: 100
lr_extractor: 0.00001
lr_head: 0.0001
momentum: 0.9
weight_decay: 0.0001
mlp_hidden_layers: [32]
freeze_prefix: []
optimizer: "adam"
augment_pipeline: "ncus"
use_class_weights: false
augment:
ncus:
min_crop_area: 0.4
max_crop_area: 1.0
min_crop_ratio: 0.4
max_crop_ratio: 0.6
brightness_prob: 0.5
max_brightness: 0.25
contrast_prob: 0.5
max_contrast: 0.25
blur_prob: 0.25
min_blur_sigma: 0.1
max_blur_sigma: 2.0
uscl:
min_crop_area: 0.8
max_crop_area: 1.0
min_crop_ratio: 0.8
max_crop_ratio: 1.25