-
Notifications
You must be signed in to change notification settings - Fork 4
/
config_mawa_mvcbm.yaml
66 lines (54 loc) · 1.17 KB
/
config_mawa_mvcbm.yaml
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
# An example configuration file for training an MVCBM on the MVAwA data
# --------------------------
# Experiment
# --------------------------
experiment_name: 'mvcbm-mvawa'
run_name: 'test-42'
seed: 42
validate: False
k_folds: 5
device: 'cuda'
workers: 2
# TODO: specify relevant directories below
log_directory: '...'
model_directory: '...'
# --------------------------
# Dataset
# --------------------------
dataset: 'mawa'
num_views: 4
num_classes: 50
partial_concepts: False
preload: False
# --------------------------
# Model
# --------------------------
model: 'MVCBM'
encoder_arch: 'ResNet18'
aggregator: 'mean'
training_mode: 'sequential'
alpha: 1.0
num_concepts: 85
t_hidden_dim: 100
norm_bottleneck: False
attention: False
# --------------------------
# Training
# --------------------------
c_epochs: 25
c_learning_rate: 0.0001
t_epochs: 20
t_learning_rate: 0.01
j_epochs: 120
j_learning_rate: 0.0001
train_batch_size: 64
val_batch_size: 64
optimizer: 'adam'
decrease_every: 150
lr_divisor: 2
weight_decay: 0
validate_every_epoch: False
# --------------------------
# Additional features
# --------------------------
ex_features: []