nicodjimenez / lstm

Minimal, clean example of lstm neural network training in python, for learning purposes.
1.75k stars 651 forks source link

Execution problem #36

Open vijayaprabakarank opened 6 years ago

vijayaprabakarank commented 6 years ago

Hi #nicodjimenez would like to work on your code. But while executing test.py file I am getting global name 'ToyLossLayer' is not defined

kindly explain what is ToyLossLayer and why we are sending to _"y_listis( )" in lstm.py And I don't understand what is "end" in the print statement.

print("iter", "%2s"%str(cur_iter, end":")
morenoh149 commented 6 years ago

that is an error when running with python 2, try python 3.