sherjilozair / char-rnn-tensorflow

Multi-layer Recurrent Neural Networks (LSTM, RNN) for character-level language models in Python using Tensorflow
MIT License
2.64k stars 960 forks source link

Fix #47 #49

Closed wichtounet closed 7 years ago

wichtounet commented 7 years ago

This fixes #47

On GPU machine, there is no such thing as eval() for some reason. sess.run(x) is the way to get the values out of a tensor.

ellenhp commented 7 years ago

You also need to make a change here on my system to get it working for sampling: https://github.com/sherjilozair/char-rnn-tensorflow/blob/master/model.py#L62

wichtounet commented 7 years ago

You're right, this is done in #50

Sorry, I did it in two pull requests.

sherjilozair commented 7 years ago

Thanks!