-
Notifications
You must be signed in to change notification settings - Fork 260
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
Weights sum up to zero #322
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I got recently this error message, although I read it's been fixed. I'm running python 2.7.13 on a Macbook Air and I've installed the following versions: nolearn 0.6.1.dev0, Theano 0.8.1, Lasagne 0.2.dev1, numpy 1.12.0
The following code was running and if I set up train_split to 0.01, it works. The line below ... is causing the error message below. I'd really appriciate any help I can get, to make this code run:
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nolearn/lasagne/base.py", line 693, in fit
self.train_loop(X, y, epochs=epochs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nolearn/lasagne/base.py", line 796, in train_loop
custom_scores, weights=batch_valid_sizes, axis=1)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/lib/function_base.py", line 1140, in average
"Weights sum to zero, can't be normalized")
ZeroDivisionError: Weights sum to zero, can't be normalized
The text was updated successfully, but these errors were encountered: