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

Change dependency from saved_model_cli to saved_model_utils #7039

Merged
merged 5 commits into from
Nov 28, 2022

Conversation

BlaziusMaximus
Copy link
Contributor

@BlaziusMaximus BlaziusMaximus commented Nov 10, 2022

This change is Reviewable

Copy link
Collaborator

@pyu10055 pyu10055 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @BlaziusMaximus Is the saved_model_cli file deprecating and recommend way is to use saved_model_utils?

Reviewable status: 0 of 1 approvals obtained (waiting on @BlaziusMaximus)


tfjs-converter/python/tensorflowjs/converters/tf_saved_model_conversion_v2.py line 46 at r1 (raw file):

from tensorflow.python.saved_model.load import load
from tensorflow.python.saved_model import loader
from tensorflow.python.tools import saved_model_utils

from tensorflow.python.tools.saved_model_utils import get_meta_graph_def ?

Code quote:

from tensorflow.python.tools import saved_model_utils

@BlaziusMaximus
Copy link
Contributor Author

Yes, exactly. See cl/487288548 for more details.

Copy link
Collaborator

@pyu10055 pyu10055 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 1 files at r2, all commit messages.
Reviewable status: 0 of 1 approvals obtained (waiting on @BlaziusMaximus)

Copy link
Collaborator

@pyu10055 pyu10055 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

Reviewable status: :shipit: complete! 1 of 1 approvals obtained (waiting on @BlaziusMaximus)

@mattsoulanille mattsoulanille merged commit 177a0b6 into tensorflow:master Nov 28, 2022
Linchenn pushed a commit to Linchenn/tfjs that referenced this pull request Jan 9, 2023
…ow#7039)

* Change dependency from saved_model_cli to saved_model_utils

* saved_model_utils import change

Co-authored-by: Ping Yu <[email protected]>
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

Successfully merging this pull request may close these issues.

3 participants