While running TDeval.py file,
saver.restore(sess, "models/session_dump") this line giving me an error of models; No such file or directory
Traceback (most recent call last):
File "TDeval.py", line 91, in
D = Decoder(sess, maxlen)
File "TDeval.py", line 41, in init
saver.restore(sess, "models/session_dump")
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/saver.py", line 1536, in restore
if not checkpoint_management.checkpoint_exists(compat.as_text(save_path)):
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/checkpoint_management.py", line 364, in checkpoint_exists
if file_io.get_matching_files(pathname):
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/lib/io/file_io.py", line 342, in get_matching_files
for single_filename in filename
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/errors_impl.py", line 528, in exit
c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.NotFoundError: models; No such file or directory
Can anyone help me with how can I resolve this error?
While running TDeval.py file, saver.restore(sess, "models/session_dump") this line giving me an error of models; No such file or directory
Traceback (most recent call last): File "TDeval.py", line 91, in
D = Decoder(sess, maxlen)
File "TDeval.py", line 41, in init
saver.restore(sess, "models/session_dump")
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/saver.py", line 1536, in restore
if not checkpoint_management.checkpoint_exists(compat.as_text(save_path)):
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/checkpoint_management.py", line 364, in checkpoint_exists
if file_io.get_matching_files(pathname):
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/lib/io/file_io.py", line 342, in get_matching_files
for single_filename in filename
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/errors_impl.py", line 528, in exit
c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.NotFoundError: models; No such file or directory
Can anyone help me with how can I resolve this error?
Thanks in advance.