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

VariationalAutoencoderRunner.py (cost= nan) #23

Closed
daviddao opened this issue Mar 18, 2016 · 3 comments · Fixed by #26
Closed

VariationalAutoencoderRunner.py (cost= nan) #23

daviddao opened this issue Mar 18, 2016 · 3 comments · Fixed by #26

Comments

@daviddao
Copy link
Contributor

When running the VAE example VariationalAutoencoderRunner.py in models/autoencoder , I get following output:

Epoch: 0001 cost= nan
Epoch: 0002 cost= nan
Epoch: 0003 cost= nan
Epoch: 0004 cost= nan
Epoch: 0005 cost= nan
Epoch: 0006 cost= nan
Epoch: 0007 cost= nan
Epoch: 0008 cost= nan
Epoch: 0009 cost= nan
Epoch: 0010 cost= nan
Epoch: 0011 cost= nan
Epoch: 0012 cost= nan
Epoch: 0013 cost= nan
Epoch: 0014 cost= nan
Epoch: 0015 cost= nan
Epoch: 0016 cost= nan
Epoch: 0017 cost= nan
Epoch: 0018 cost= nan
Epoch: 0019 cost= nan
Epoch: 0020 cost= nan

Machine: AWS EC2 GPU instance with image ami-77e0da1d

@martinwicke
Copy link
Member

@snurkabill, and idea?

@snurkabill
Copy link
Contributor

Sure I have idea. I don't double checks. VAE needs data scaled between zero and one. Normally scaled data lead to negative logarithm, which is obviously error. Fixed with next PR

@martinwicke
Copy link
Member

Fixed in #24.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants