forked from BorealisAI/CP-VAE
-
Notifications
You must be signed in to change notification settings - Fork 1
/
baseline_config.py
69 lines (67 loc) · 1.52 KB
/
baseline_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
65
66
67
68
69
# Copyright (c) 2020-present, Royal Bank of Canada.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
#
CONFIG = {}
CONFIG["yelp"] = {
"label": True,
"params": {
"log_interval": 2000,
"num_epochs": 100,
"enc_lr": 1.0,
"dec_lr": 1.0,
"warm_up": 10,
"kl_start": 0.1,
"aggressive": False,
"vae_params": {
"ni": 256,
"nz": 80,
"enc_nh": 1024,
"dec_nh": 1024,
"dec_dropout_in": 0.5,
"dec_dropout_out": 0.5,
}
}
}
CONFIG["amazon"] = {
"label": True,
"params": {
"log_interval": 2000,
"num_epochs": 100,
"enc_lr": 1e-3,
"dec_lr": 1.0,
"warm_up": 10,
"kl_start": 0.1,
"aggressive": True,
"vae_params": {
"ni": 128,
"nz": 32,
"enc_nh": 1024,
"dec_nh": 1024,
"dec_dropout_in": 0.5,
"dec_dropout_out": 0.5,
}
}
}
CONFIG["gyafc"] = {
"label": True,
"params": {
"log_interval": 2000,
"num_epochs": 100,
"enc_lr": 1.0,
"dec_lr": 1.0,
"warm_up": 10,
"kl_start": 0.1,
"aggressive": False,
"vae_params": {
"ni": 256,
"nz": 80,
"enc_nh": 1024,
"dec_nh": 1024,
"dec_dropout_in": 0.5,
"dec_dropout_out": 0.5,
}
}
}