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

saved_model_cli #20

Closed
pjfalbe opened this issue Aug 16, 2023 · 2 comments
Closed

saved_model_cli #20

pjfalbe opened this issue Aug 16, 2023 · 2 comments

Comments

@pjfalbe
Copy link

pjfalbe commented Aug 16, 2023

I did a " pip install --upgrade tensorflow" on my server and it installed the python package tensorflow. But I didn't get a saved_model_cli script I got a ./site-packages/tensorflow/python/tools/saved_model_cli.py is there a shell script I am missing to run this module?

@zmughal
Copy link
Member

zmughal commented Aug 16, 2023

I don't know the specifics of your install, but what happens on mine is that I have the script installed in ~/.local/bin/saved_model_cli. But the script that you have in ./site-packages/tensorflow/python/tools/saved_model_cli.py should also work if you run it with Python:

python3 .../site-packages/tensorflow/python/tools/saved_model_cli.py --help

In the examples, the output from the script is only used to show the signature and operation names. It does not play a functional role in the code.

@pjfalbe
Copy link
Author

pjfalbe commented Aug 17, 2023 via email

@zmughal zmughal closed this as completed Aug 17, 2023
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

2 participants