-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.py
53 lines (49 loc) · 1.24 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
from dataclasses import dataclass
@dataclass
class VAE_config:
input_dim: int = None
model_name: str = "VAE"
architecture: str= 'convnet'
n_channels: int = None
latent_dim: int = None
beta: float =1
device: str = 'cuda'
cuda: bool= True
dynamic_binarization: bool= False
dataset: str=None
@dataclass
class RHVAE_config:
input_dim: int = None
model_name: str = "RHVAE"
architecture: str= 'convnet'
n_channels: int = None
latent_dim: int = None
beta: float =1
n_lf: int =1
eps_lf: float=0.001
temperature: float = 0.8
regularization: float = 0.001
device: str = 'cuda'
cuda: bool= True
beta_zero: float = 0.3
metric_fc: int = 400
dynamic_binarization: bool= False
dataset: str=None
@dataclass
class VAMP_config:
model_name="VAMP"
architecture: str= 'convnet'
input_size: int = None
z1_size: int = None
n_channels: int = None
prior: str = 'vampprior'
input_type: str = 'continuous'
use_training_data_init: bool = False
pseudoinputs_mean: float = 0.05
pseudoinputs_std: float = 0.01
number_components: int = 10
dataset: str=None
dynamic_binarization = False
warmup: int = 0
beta: int = 1
cuda = True