ValueError: Restore called with invalid save path
hareeshgara1 opened this issue · 0 comments
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