-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.py
64 lines (63 loc) · 1.98 KB
/
config.py
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
"""
VAEL experiment(s) configuration
"""
mnist_vael = dict(
device = 'cuda:0',
n_digits = 10,
experiment_name='vael_2digitMNIST',
dataset_dimensions = {'train': 42000,
'val': 12000,
'test': 6000},
batch_size = {'train': 30,
'val': 120,
'test': 60},
exp_config = {'task': ['base'],
'tag': ['base_10Digits'],
'rec_loss': ['LAPLACE'],
'max_epoch': [50],
'n_exp': [5],
'latent_dim_sub': [8],
'latent_dim_sym': [15],
'learning_rate': [1e-3],
'dropout': [0.5],
'dropout_ENC': [0.5],
'dropout_DEC': [0.5],
'recon_w': [1e-1],
'kl_w': [1e-5],
'query_w': [1.],
'sup_w': [0.],
'query': [True]},
early_stopping_info = {
'patience': 20,
'delta': 1e-8})
mario_vael = dict(
device='cuda:0',
n_facts=18,
experiment_name='vael_Mario',
lagrangian=False,
batch_size={'train': 32,
'val': 32,
'test': 32},
exp_config={'task': ['base'],
'tag': ['base'],
'rec_loss': ['LAPLACE'],
'max_epoch': [200],
'n_exp': [5],
'latent_dim_sub': [30],
'latent_dim_sym': [18],
'hidden_chs_MLP': [32],
'hidden_chs_ENC': [64],
'hidden_chs_DEC': [64],
'learning_rate': [1e-4],
'dropout': [0.1],
'dropout_ENC': [0.0],
'dropout_DEC': [0.0],
'recon_w': [10.],
'kl_w': [10.],
'query_w': [1e4],
'sup_w': [0.],
'query': [True]},
early_stopping_info={
'patience': 20,
'delta': 1e-8,
'loss': 'true_elbo'},)