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
Is anyone familiar with the error below? It appears sometimes when I change the number of hidden or end layers, or scale the data. The code continues to run, but the loss is always "nan".
[DBN] Fine-tune...
/Library/Python/2.7/site-packages/npmat.py:488: RuntimeWarning: invalid value encountered in multiply
target.numpy_array[:] = vec.numpy_array * self.numpy_array
/Library/Python/2.7/site-packages/npmat.py:433: RuntimeWarning: invalid value encountered in add
target.numpy_array[:] = vec.numpy_array + self.numpy_array
/Library/Python/2.7/site-packages/npmat.py:617: RuntimeWarning: invalid value encountered in greater
target.numpy_array[:] = (self.numpy_array > val).astype(DTYPE)
/Library/Python/2.7/site-packages/npmat.py:588: RuntimeWarning: invalid value encountered in less
target.numpy_array[:] = self.numpy_array < val
100%
Epoch 1:
loss nan
err 0.13142703202
(0:00:02)
Peter
The text was updated successfully, but these errors were encountered:
This is hard to debug without more context. I've given up on supporting nolearn.dbn in master. Maybe you want to give nolearn.lasagne a try? It's got a lot of improvements over the dbn module.
Hi,
Is anyone familiar with the error below? It appears sometimes when I change the number of hidden or end layers, or scale the data. The code continues to run, but the loss is always "nan".
[DBN] Fine-tune...
/Library/Python/2.7/site-packages/npmat.py:488: RuntimeWarning: invalid value encountered in multiply
target.numpy_array[:] = vec.numpy_array * self.numpy_array
/Library/Python/2.7/site-packages/npmat.py:433: RuntimeWarning: invalid value encountered in add
target.numpy_array[:] = vec.numpy_array + self.numpy_array
/Library/Python/2.7/site-packages/npmat.py:617: RuntimeWarning: invalid value encountered in greater
target.numpy_array[:] = (self.numpy_array > val).astype(DTYPE)
/Library/Python/2.7/site-packages/npmat.py:588: RuntimeWarning: invalid value encountered in less
target.numpy_array[:] = self.numpy_array < val
100%
Epoch 1:
loss nan
err 0.13142703202
(0:00:02)
Peter
The text was updated successfully, but these errors were encountered: