Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【求问,急】报错找不到data/**.txt文件路径 #18

Open
pikozizi opened this issue Sep 12, 2019 · 1 comment
Open

【求问,急】报错找不到data/**.txt文件路径 #18

pikozizi opened this issue Sep 12, 2019 · 1 comment

Comments

@pikozizi
Copy link

如题,报错找不到data/**.txt文件路径,怎么解决

@pikozizi
Copy link
Author

Traceback (most recent call last):
File "/home/piko/venv/Char-RNN-TensorFlow-master/Char-RNN-TensorFlow-master/train.py", line 56, in
tf.app.run()
File "/home/piko/venv/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "/home/piko/venv/lib/python3.6/site-packages/absl/app.py", line 299, in run
_run_main(main, args)
File "/home/piko/venv/lib/python3.6/site-packages/absl/app.py", line 250, in _run_main
sys.exit(main(argv))
File "/home/piko/venv/Char-RNN-TensorFlow-master/Char-RNN-TensorFlow-master/train.py", line 29, in main
with codecs.open(FLAGS.input_file, encoding='utf-8') as f:
File "/home/piko/venv/lib/python3.6/codecs.py", line 897, in open
file = builtins.open(filename, mode, buffering)
FileNotFoundError: [Errno 2] No such file or directory: 'data/poetry.txt'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant