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

summarize_graph show framework error when input saved_model is selected #6726

Merged
merged 3 commits into from
Jul 22, 2021

Conversation

vgavrilo
Copy link
Contributor

Root cause analysis: For some TF saved_model, we have a framework error after running the script summarize_graph.py.

mo.utils.error.FrameworkError: SavedModel format load failure: MetaGraphDef associated with tags '' could not be found in SavedModel. To inspect available tag-sets in the SavedModel, please use the SavedModel CLI: saved_model_cli
available_tags: [{'serve'}].

The reason of this error is the following: the value of the command line key --saved_model_tags must be considered as a group of tag(s) of the MetaGraphDef to load, in string format, separated by commas. Hence, this value must be split into a list of strings by commas. But such splitting isn't performed.

Solution: add splitting the value of the command line key --saved_model_tags by commas.

Tickets:

  • 58810

Code:

  • Comments
  • Code style (PEP8)
  • Transformation generates reshape-able IR: N/A because there are no new transformations
  • Transformation preserves original framework node names: N/A because there are no new transformations

Validation:

  • Unit tests: N/A
  • Framework operation tests: N/A - No new enabled operations;
  • Transformation tests: N/A - No new implemented transformations;
  • Model Optimizer IR Reader check: N/A

Documentation:

  • Supported frameworks operations list: N/A - No new supported operations;
  • Supported public models list: N/A - Nothing to add;
  • User guide update: N/A - Nothing to update.

@vgavrilo vgavrilo requested review from a team, iimironov, rkazants, popovaan and lazarevevgeny and removed request for a team July 21, 2021 06:57
@openvino-pushbot openvino-pushbot added the category: MO Model Optimizer label Jul 21, 2021
@vgavrilo
Copy link
Contributor Author

@iimironov, @rkazants, @popovaan, @lazarevevgeny, please, see this PR (#6726)

@vgavrilo vgavrilo requested a review from iimironov July 21, 2021 12:42
@vgavrilo
Copy link
Contributor Author

@iimironov, @rkazants, @popovaan, @lazarevevgeny, please, see this PR (#6726)

@vgavrilo vgavrilo requested a review from popovaan July 22, 2021 08:40
@vgavrilo
Copy link
Contributor Author

@iimironov, @rkazants, @popovaan, @lazarevevgeny, please, see this PR (#6726)

@vgavrilo
Copy link
Contributor Author

@iimironov, @popovaan, @lazarevevgeny, please, see this PR (#6726)

@rkazants rkazants merged commit abc6a33 into openvinotoolkit:master Jul 22, 2021
rnugmanx pushed a commit to rnugmanx/openvino that referenced this pull request Aug 26, 2021
andrei-cv pushed a commit to andrei-cv/openvino that referenced this pull request Aug 30, 2021
akuporos pushed a commit to akuporos/openvino that referenced this pull request Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: MO Model Optimizer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants