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

OSError: SavedModel file does not exist at: all #105

Open
iris-qq opened this issue Jan 16, 2020 · 0 comments
Open

OSError: SavedModel file does not exist at: all #105

iris-qq opened this issue Jan 16, 2020 · 0 comments

Comments

@iris-qq
Copy link

iris-qq commented Jan 16, 2020

After it's turned into a pb file,The following error occurred using the command saved_model_cli show --dir allto view the network structure

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.6/bin/saved_model_cli", line 11, in <module>
    sys.exit(main())
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/tools/saved_model_cli.py", line 823, in main
    args.func(args)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/tools/saved_model_cli.py", line 617, in show
    _show_tag_sets(args.dir)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/tools/saved_model_cli.py", line 59, in _show_tag_sets
    tag_sets = reader.get_saved_model_tag_sets(saved_model_dir)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/contrib/saved_model/python/saved_model/reader.py", line 88, in get_saved_model_tag_sets
    saved_model = read_saved_model(saved_model_dir)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/contrib/saved_model/python/saved_model/reader.py", line 55, in read_saved_model
    raise IOError("SavedModel file does not exist at: %s" % saved_model_dir)
OSError: SavedModel file does not exist at: all

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