Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix grey image output in vae_mnist #1

Closed
wants to merge 21 commits into from

Conversation

hinneburg
Copy link
Owner

In vae_plot.jl the sigmoid needs to be applied to the sampled output from the decoder. Otherwise, the generated image output/manifold.png is corrupted.

The error was caused by the commits in FluxML#267 that removed the sigmoid from the last decoder layer to enable the use of the more numerically stable logitbinarycrossentropy loss. However, only the output in vae_mnist.jl was adapted. The output in vae_plot.jl was not adapted.

@hinneburg hinneburg added the bug Something isn't working label Feb 19, 2021
@hinneburg hinneburg closed this Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants