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

ValueError: Restore called with invalid save path #83

Open
hareeshgara1 opened this issue Jul 18, 2018 · 0 comments
Open

ValueError: Restore called with invalid save path #83

hareeshgara1 opened this issue Jul 18, 2018 · 0 comments

Comments

@hareeshgara1
Copy link

Hi,
To detect age and gender we ran the code guess.py , the following is the output:

File "guess.py", line 181, in
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[:1] + flags_passthrough))
File "guess.py", line 141, in main
saver.restore(sess, model_checkpoint_path)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1342, in restore
"File path is: %r" % (save_path, file_path))
ValueError: Restore called with invalid save path: u'/21936/checkpoint-14999'. File path is: u'/21936/checkpoint-14999'

We tried by changing the tf.global_variables_initializer() to sess.run(tf.initialize_all_variables()) but did not work out

Pls suggest the way forward

FYI
tensorflow version: 0.11.0rc0
Ubuntu 16.04
python 2.7
cuda : 7.5

Thanks
hareesh

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