relation-network icon indicating copy to clipboard operation
relation-network copied to clipboard

FileNotFoundError

Open dtchang opened this issue 7 years ago • 1 comments

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'

dtchang avatar Aug 19 '17 00:08 dtchang

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.

dvoprm avatar Oct 15 '18 14:10 dvoprm