Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.learn.pytorch
Commits
7ef52d8b
Commit
7ef52d8b
authored
Jan 30, 2019
by
Olegs NIKISINS
Browse files
Fixed a bug in the ConvAutoencoder
parent
43fadd2a
Pipeline
#26440
passed with stage
in 7 minutes and 29 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/learn/pytorch/architectures/ConvAutoencoder.py
View file @
7ef52d8b
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment