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

checkpoint_dir not found when test_max_length is greater than max_length #9

Open
ghost opened this issue Jul 11, 2016 · 0 comments
Open

Comments

@ghost
Copy link

ghost commented Jul 11, 2016

For example, assume max_length is 10 and test_max_length is 20:

Percent: [####################] 100.00% Finished.
 [*] Build a NTM model finished
 [*] Reading checkpoints...
Traceback (most recent call last):
  File "main.py", line 49, in <module>
    tf.app.run()
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 30, in run
    sys.exit(main(sys.argv))
  File "main.py", line 38, in main
    ntm.load(FLAGS.checkpoint_dir, 'copy')
  File "/root/NTM-tensorflow/ntm.py", line 257, in load
    raise Exception(" [!] Testing, but %s not found" % checkpoint_dir)
Exception:  [!] Testing, but checkpoint/copy_20 not found

Make a symbolic link from checkpoint/copy_10 to checkpoint/copy_20 works around the problem.

Nice job, thank you!

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

0 participants