carpedm20 / MemN2N-tensorflow

"End-To-End Memory Networks" in Tensorflow
http://arxiv.org/abs/1503.08895v4
MIT License
829 stars 251 forks source link

Exception: [!] Directory checkpoints not found #2

Closed andyyuan78 closed 8 years ago

andyyuan78 commented 8 years ago

envy@ub1404:/media/envy/data1t/os_prj/github/MemN2N-tensorflow$ PYTHONPATH=~/os_prj/github/tensorflow/_python_build python main.py --nhop 6 --mem_size 100 Read 929589 words from data/ptb.train.txt Read 73760 words from data/ptb.valid.txt Read 82430 words from data/ptb.test.txt {'batch_size': 128, 'checkpoint_dir': 'checkpoints', 'data_dir': 'data', 'data_name': 'ptb', 'edim': 150, 'init_hid': 0.1, 'init_lr': 0.01, 'init_std': 0.05, 'is_test': False, 'lindim': 75, 'max_grad_norm': 50, 'mem_size': 100, 'nepoch': 100, 'nhop': 6, 'nwords': 10000, 'show': False} Traceback (most recent call last): File "main.py", line 52, in tf.app.run() File "/home/envy/os_pri/github/tensorflow/_python_build/tensorflow/python/platform/default/_app.py", line 30, in run sys.exit(main(sys.argv)) File "main.py", line 43, in main model = MemN2N(FLAGS, sess) File "/media/envy/data1t/os_prj/github/MemN2N-tensorflow/model.py", line 26, in init raise Exception(" [!] Directory %s not found" % self.checkpoint_dir) Exception: [!] Directory checkpoints not found envy@ub1404:/media/envy/data1t/os_prj/github/MemN2N-tensorflow$

carpedm20 commented 8 years ago

You first need to create checkpoints directory in the root of the project directory.