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
Also gives NaN. Puttin "a" on top makes it work (in this case).
This might be a bug, and one that seems rather easy to get? Or i'm doing something else extremely wrong, in which case i'd also love to hear that!
p.s. if one knows a more efficient way to convert a string to a binary array. Or if there is a more elegant way of thing this in this library, please do tell :)
Cheers,
Mark
The text was updated successfully, but these errors were encountered:
Hi,
My first steps in deep learning don't go so well. I keep getting NaN.
That turned out to be a "lucky" coincidence.
See this full example:
That returns NaN.
Now if i merely swap the learn inputs around to this:
Then it magically starts working :)
This is not the only ones where it produces NaN. It does so in the following cases as well (only changing the inputs, not the predict):
Here it seems like the predict has to be at least as long as the shortest input.
Also gives NaN. Puttin "a" on top makes it work (in this case).
This might be a bug, and one that seems rather easy to get? Or i'm doing something else extremely wrong, in which case i'd also love to hear that!
p.s. if one knows a more efficient way to convert a string to a binary array. Or if there is a more elegant way of thing this in this library, please do tell :)
Cheers,
Mark
The text was updated successfully, but these errors were encountered: