Skip to content

Add a Colab notebook demonstrating TensorFlow Hub import. - #5945

Merged
ScottTodd merged 2 commits into
iree-org:mainfrom
ScottTodd:tensorflowhub-colab
May 19, 2021
Merged

ScottTodd merged 2 commits into
iree-org:mainfrom
ScottTodd:tensorflowhub-colab

Conversation

@ScottTodd

@ScottTodd ScottTodd commented May 18, 2021 •

Copy link
Copy Markdown
Member

Preview: https://colab.research.google.com/github/scotttodd/iree/blob/tensorflowhub-colab/colab/tensorflow_hub_import.ipynb

This walks through the process of importing a model from TensorFlow Hub step by step, including debugging and fixing missing serving signatures. At the end of the notebook it zips up compilation artifacts and downloads them to the user's machine.

See also #5556 for ways to make the debugging shown here less necessary or at least more user friendly.

Progress on #5591

@ScottTodd ScottTodd added documentation ✏️ Improvements or additions to documentation integrations/tensorflow TensorFlow model import and conversion integrations/colab labels May 18, 2021
@google-cla google-cla Bot added the cla: yes label May 18, 2021
* Capture pip install output
* Print TensorFlow version, remove unused numpy import
* Document how IREE supports TensorFlow 2 SavedModels
* Document target_backends

@antiagainst antiagainst left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice!!

@ScottTodd
ScottTodd merged commit 0281721 into iree-org:main May 19, 2021
@ScottTodd
ScottTodd deleted the tensorflowhub-colab branch May 19, 2021 18:05
@hanhanW hanhanW mentioned this pull request May 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation ✏️ Improvements or additions to documentation integrations/tensorflow TensorFlow model import and conversion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants