Skip to content

Error when trying to train. #81

Description

@probablyrei

When I open train.py I get a traceback error that says:

Traceback (most recent call last):
File "C:\Users\User\Desktop\word-rnn-tensorflow-master\train.py", line 134, in
main()
File "C:\Users\User\Desktop\word-rnn-tensorflow-master\train.py", line 54, in main
train(args)
File "C:\Users\User\Desktop\word-rnn-tensorflow-master\train.py", line 57, in train
data_loader = TextLoader(args.data_dir, args.batch_size, args.seq_length, args.input_encoding)
File "C:\Users\User\Desktop\word-rnn-tensorflow-master\utils.py", line 23, in init
self.preprocess(input_file, vocab_file, tensor_file, encoding)
File "C:\Users\User\Desktop\word-rnn-tensorflow-master\utils.py", line 65, in preprocess
with codecs.open(input_file, "r", encoding=encoding) as f:
File "C:\Users\User\AppData\Local\Programs\Python\Python35\lib\codecs.py", line 895, in open
file = builtins.open(filename, mode, buffering)
FileNotFoundError: [Errno 2] No such file or directory: 'data/tinyshakespeare\input.txt'

I don't know why it says "No such file or directory: 'data/tinyshakespeare\input.txt'" because it is definitely there..help?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions