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

An error raised when run dcgan.py. #29

Closed
ljch2018 opened this issue Sep 19, 2017 · 2 comments
Closed

An error raised when run dcgan.py. #29

ljch2018 opened this issue Sep 19, 2017 · 2 comments

Comments

@ljch2018
Copy link

I run python mlfromscratch/unsupervised_learning/dcgan.py,

The output is like that:

33 [D loss: 0.029268, acc: 100.00%] [G loss: 5.641379, acc: 0.00%]
34 [D loss: 0.024022, acc: 100.00%] [G loss: 5.165160, acc: 0.00%]
35 [D loss: 0.043149, acc: 96.88%] [G loss: 5.387241, acc: 0.00%]
36 [D loss: 0.017758, acc: 100.00%] [G loss: 5.255211, acc: 0.00%]
python2.7/lib/python2.7/site-packages/mlfromscratch-0.0.4-py2.7.egg/mlfromscratch/utils/layers.py:486: RuntimeWarning: invalid value encountered in multiply
python2.7/lib/python2.7/site-packages/mlfromscratch-0.0.4-py2.7.egg/mlfromscratch/utils/activation_functions.py:54: RuntimeWarning: invalid value encountered in greater_equal
python2.7/lib/python2.7/site-packages/mlfromscratch-0.0.4-py2.7.egg/mlfromscratch/utils/activation_functions.py:57: RuntimeWarning: invalid value encountered in greater_equal
37 [D loss: 0.020248, acc: 100.00%] [G loss: nan, acc: 100.00%]
38 [D loss: nan, acc: 50.00%] [G loss: nan, acc: 100.00%]
39 [D loss: nan, acc: 50.00%] [G loss: nan, acc: 100.00%]
40 [D loss: nan, acc: 50.00%] [G loss: nan, acc: 100.00%]
...

Thank you.

@eriklindernoren
Copy link
Owner

I have not got DCGAN to converge yet, unfortunately. Because of this it is not listed as implemented.

@ljch2018
Copy link
Author

@eriklindernoren Thanks, and this is great work.

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

No branches or pull requests

2 participants