-
Notifications
You must be signed in to change notification settings - Fork 4
/
mvae.py
86 lines (76 loc) · 2.03 KB
/
mvae.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
from config.experiments.base_experiments import *
from config.templates.models.mvae import MultiVAE
blobs_mvae = BlobsExperiment(
model_config=MultiVAE(
encoder_configs=BLOBS_ENCODERS,
decoder_configs=BLOBS_DECODERS,
hidden_dim=8,
cont_dim=8,
),
batch_size=64,
num_sanity_val_steps=0,
)
noisymnist_mvae = NoisyMNISTExperiment(
model_config=MultiVAE(
encoder_configs=NOISY_MNIST_ENCODERS,
decoder_configs=NOISY_MNIST_DECODERS,
),
batch_size=64,
num_sanity_val_steps=0,
)
edgemnist_mvae = EdgeMNISTExperiment(
model_config=MultiVAE(
encoder_configs=EDGE_MNIST_ENCODERS,
decoder_configs=EDGE_MNIST_DECODERS,
),
batch_size=64,
num_sanity_val_steps=0,
)
caltech20_mvae = Caltech20Experiment(
model_config=MultiVAE(
encoder_configs=CALTECH_ENCODERS,
decoder_configs=CALTECH_DECODERS,
),
batch_size=64,
num_sanity_val_steps=0,
)
caltech7_mvae = Caltech7Experiment(
model_config=MultiVAE(
encoder_configs=CALTECH_ENCODERS,
decoder_configs=CALTECH_DECODERS,
),
batch_size=64,
num_sanity_val_steps=0,
)
noisyfashionmnist_mvae = NoisyFashionMNISTExperiment(
model_config=MultiVAE(
encoder_configs=NOISY_FASHIONMNIST_ENCODERS,
decoder_configs=NOISY_FASHIONMNIST_DECODERS,
),
batch_size=64,
num_sanity_val_steps=0,
)
edgefashionmnist_mvae = EdgeFashionMNISTExperiment(
model_config=MultiVAE(
encoder_configs=EDGE_FASHIONMNIST_ENCODERS,
decoder_configs=EDGE_FASHIONMNIST_DECODERS,
),
batch_size=64,
num_sanity_val_steps=0,
)
coil20_mvae = COIL20Experiment(
model_config=MultiVAE(
encoder_configs=COIL20_ENCODERS,
decoder_configs=COIL20_DECODERS,
),
batch_size=64,
num_sanity_val_steps=0,
)
patchedmnist_mvae = PatchedMNISTExperiment(
model_config=MultiVAE(
encoder_configs=PATCHED_MNIST_ENCODERS,
decoder_configs=PATCHED_MNIST_DECODERS,
),
batch_size=64,
num_sanity_val_steps=0,
)