Update model.py
Browse files
model.py
CHANGED
@@ -112,9 +112,9 @@ class VAECost:
|
|
112 |
|
113 |
class VAE(tf.keras.Model):
|
114 |
|
115 |
-
def __init__(self, dim_z, seed=2000, analytic_kl=True, name="autoencoder", **kwargs):
|
116 |
super(VAE, self).__init__(name=name, **kwargs)
|
117 |
-
self.dim_x = (3,
|
118 |
self.dim_z = dim_z
|
119 |
self.seed = seed
|
120 |
self.analytic_kl = analytic_kl
|
|
|
112 |
|
113 |
class VAE(tf.keras.Model):
|
114 |
|
115 |
+
def __init__(self, dim_z=120, seed=2000, analytic_kl=True, name="autoencoder", **kwargs):
|
116 |
super(VAE, self).__init__(name=name, **kwargs)
|
117 |
+
self.dim_x = (3, _CAP, 1)
|
118 |
self.dim_z = dim_z
|
119 |
self.seed = seed
|
120 |
self.analytic_kl = analytic_kl
|