Closed john-parton closed 8 years ago
Thanks @john-parton !
Hi @john-parton!
I am using this codebase to run on a jokes dataset. But running 'python train.py' returns the following 'TypeError' : TypeError: lookup() argument 1 must be string, not int
. Could you help?
@greninja What version of the code are you running? What version of python?
My hunch is you're on python2?
Since there are no releases of this repo, I am not sure which version but I am using the most recent code. Yes, I am on python2 (2.7)
Fix for https://github.com/sherjilozair/char-rnn-tensorflow/issues/38
Tested with Python 2.7, but not Python 3.x.
Additional encodings could be supported with an
--encoding
switch, but I think unicode should work for the vast majority of use-cases.