Skip to content
Snippets Groups Projects
Commit d21f4d6c authored by Guillaume HEUSCH's avatar Guillaume HEUSCH
Browse files

Merge branch 'ae_bug_fix' into 'master'

Fixed a bug in the ConvAutoencoder

See merge request !11
parents 43fadd2a 7ef52d8b
Branches
Tags
1 merge request!11Fixed a bug in the ConvAutoencoder
Pipeline #26453 passed
......@@ -57,10 +57,11 @@ class ConvAutoencoder(nn.Module):
The forward method.
"""
x = self.encoder(x)
x = self.decoder(x)
if self.return_latent_embedding:
return self.encoder(x)
return x
x = self.decoder(x)
return x
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment