Skip to content
Snippets Groups Projects
Commit 0edecdb0 authored by Jean-Luc Parouty's avatar Jean-Luc Parouty
Browse files

2 bugs correction in VAE :-)

parent c322a913
No related branches found
No related tags found
1 merge request!5Update style in README
This diff is collapsed.
......@@ -43,7 +43,7 @@ class VAE(keras.Model):
def call(self, inputs):
z = self.encoder(inputs)
z_mean, z_log_var, z = self.encoder(inputs)
y_pred = self.decoder(z)
return y_pred
......
......@@ -31,6 +31,8 @@ class ImagesCallback(Callback):
def on_epoch_end(self, epoch, logs={}):
if epoch<1 : return
# ---- Get latent points
#
if self.x is None:
......@@ -72,6 +74,7 @@ class BestModelCallback(Callback):
self.loss = np.Inf
def on_epoch_end(self, epoch, logs=None):
if epoch<1 : return
current = logs.get("loss")
if current<self.loss:
self.loss = current
......
......@@ -78,8 +78,8 @@
"duration": "00:00:03 329ms"
},
"VAE1": {
"path": "/home/pjluc/dev/fidle/VAE",
"start": "Monday 4 January 2021, 17:59:08",
"path": "/gpfsdswork/projects/rech/mlh/uja62cb/fidle/VAE",
"start": "Tuesday 5 January 2021, 00:07:12",
"end": "",
"duration": "Unfinished..."
},
......@@ -150,8 +150,8 @@
"duration": "00:00:08 736ms"
},
"VAE8": {
"path": "/home/pjluc/dev/fidle/VAE",
"start": "Monday 4 January 2021, 23:53:16",
"path": "/gpfsdswork/projects/rech/mlh/uja62cb/fidle/VAE",
"start": "Tuesday 5 January 2021, 00:23:42",
"end": "",
"duration": "Unfinished..."
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment