tensorflow / tensorflow/recommenders

basic retrieval tutorial savedmodel `Op type not registered 'Scann>TensorsToScann'` error

Open
#182 7 comments 0 reactions 1 assignee View on GitHub

@maciejkula is already working on this.

Since Dec 11, 2020.

question
Dominant language
Python
Stars
2k
Forks
300
PR merge metrics
No merged PRs in 30d

Description

I ran the basic_retrieval.ipynb tutorial and deployed the savedmodel.
When sent query to tf serving, the following error occurs:
tensorflow.python.framework.errors_impl.NotFoundError: Op type not registered 'Scann>TensorsToScann' in binary running on managed-notebook-cb8e4-0. Make sure the Op and Kernel are registered in the binary running in this process. Note that if you are loading a saved graph which used ops from tf.contrib, accessing (e.g.) tf.contrib.resampler should be done before importing the graph, as contrib ops are lazily registered when the module is first accessed.
The same error happened when using saved_model_cli show command to inspect the saved model.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.