Skip to content

new version of tensorflow #1

Description

@seudnuredin

Hi ayoungprogrammer, Can you plz help me by updating your repo to the new version of tensorflow. I have tried several ways like 'import tensorflow.compat.v1 as tf'
but it didn't work and i was editing your code for days but i couldn't run it with the new tensorflow, this was my error:
Traceback (most recent call last):
File "C:/Users/pc/Desktop/num2vec-master/eval.py", line 6, in
seq_model.load()
File "C:\Users\pc\Desktop\num2vec-master\rnn_seq.py", line 184, in load
self.saver.restore(self.sess, model_fi)
File "C:\Users\pc\AppData\Local\Programs\Python\Python38\lib\site-packages\tensorflow\python\training\saver.py", line 1289, in restore
if not checkpoint_management.checkpoint_exists_internal(checkpoint_prefix):
File "C:\Users\pc\AppData\Local\Programs\Python\Python38\lib\site-packages\tensorflow\python\training\checkpoint_management.py", line 383, in checkpoint_exists_internal
if file_io.get_matching_files(pathname):
File "C:\Users\pc\AppData\Local\Programs\Python\Python38\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 350, in get_matching_files
return get_matching_files_v2(filename)
File "C:\Users\pc\AppData\Local\Programs\Python\Python38\lib\site-packages\tensorflow\python\lib\io\file_io.py", line 408, in get_matching_files_v2
for matching_filename in _pywrap_file_io.GetMatchingFiles(
tensorflow.python.framework.errors_impl.NotFoundError: FindFirstFile failed for: saved : The system cannot find the path specified.
; No such process

Process finished with exit code 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions