TomRB22 commited on
Commit
0526e94
1 Parent(s): 0a36bea

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +2 -2
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, CAP, 1)
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