AI-secure / Characterizing-Audio-Adversarial-Examples-using-Temporal-Dependency

ICLR 2019 Paper, "Characterizing Audio Adversarial Examples using Temporal Dependency".
https://arxiv.org/abs/1809.10875
11 stars 3 forks source link

tensorflow.python.framework.errors_impl.NotFoundError: models; No such file or directory #2

Open JeetShah10 opened 4 years ago

JeetShah10 commented 4 years ago

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.

ruby11dog commented 4 years ago

Is this issue solved? I got the same problem.

ruby11dog commented 3 years ago

Hi, you should create a file named session_dump and put DeepSpeechv0.4.1 model in the file.