Skip to content
Snippets Groups Projects
Commit 7ef52d8b authored by Olegs NIKISINS's avatar Olegs NIKISINS
Browse files

Fixed a bug in the ConvAutoencoder

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