You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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: