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

FileNotFoundError #1

Open
dtchang opened this issue Aug 19, 2017 · 1 comment
Open

FileNotFoundError #1

dtchang opened this issue Aug 19, 2017 · 1 comment

Comments

@dtchang
Copy link

dtchang commented Aug 19, 2017

File "...\preprocessor\reader.py", line 51, in parse
with open(pik_path, 'w') as f:

FileNotFoundError: [Errno 2] No such file or directory: 'ckpt/train\train.pik'

@dvoprm
Copy link

dvoprm commented Oct 15, 2018

Hello.
In my opinion, you should edit line15 in run.py, 'valid' to 'train', so that your code can train from the begining.
LINE12: tf.app.flags.DEFINE_string("mode", "train", "Mode to run - choose from [train, valid, test].")

And then, you should
mkdir ckpt
mkdir ckpt/train
by yourself, because the code cannot directly create a file on non-existent directory.

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

2 participants