We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8fe1f47 + 5445b64 commit bf13c76Copy full SHA for bf13c76
deeptrack/models/vaes/vae.py
@@ -30,7 +30,7 @@ def train_step(self, data):
30
31
# Sample a random point in the latent space
32
epsilon = tf.random.normal(shape=tf.shape(z_mean))
33
- z = z_mean + tf.exp(z_log_var) * epsilon
+ z = z_mean + tf.exp(0.5 * z_log_var) * epsilon
34
35
# Reconstruct the input image
36
rdata = self.decoder(z)
0 commit comments