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

Error while trying to start your software #13

Closed ghost closed 8 years ago

ghost commented 8 years ago

loading preprocessed files Traceback (most recent call last): File "train.py", line 75, in main() File "train.py", line 39, in main train(args) File "train.py", line 50, in train model = Model(args) File "/home/tensorflow/tests/char-lstm-16/model.py", line 53, in init self.final_state = states[-1] File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/array_ops.py", line 126, in _SliceHelper raise NotImplementedError("Negative indices are currently unsupported") NotImplementedError: Negative indices are currently unsupported

sherjilozair commented 8 years ago

https://github.com/sherjilozair/char-rnn-tensorflow/pull/12 should have fixed this. Please re-open if this isn't the case.