Thomas Packer, Ph.D.
1 min readFeb 21, 2020

--

I get an error on the hub.Module(…) line: “NotFoundError: Graph ops missing from the python registry ({‘SentencepieceEncodeSparse’}) are also absent from the c++ registry.”

I am using TF 1.14.0.

I also get an error when I try to `import tf_sentencepiece`.

I also tried with TF 1.15. No change.

What versions do you use? I’m using:

sentencepiece 0.1.84 pypi_0 pypi
tensorflow 1.15.0 gpu_py37h0f0df58_0
tensorflow-base 1.15.0 gpu_py37h9dcbed7_0
tensorflow-estimator 1.15.1 pyh2649769_0
tensorflow-gpu 1.15.0 h0d30ee6_0
tensorflow-hub 0.7.0 pyhe1b5a44_0 conda-forge
tensorflow-serving-api 1.15.0 pypi_0 pypi

--

--

Thomas Packer, Ph.D.
Thomas Packer, Ph.D.

Written by Thomas Packer, Ph.D.

I do data science (QU, NLP, conversational AI). I write applicable-allegorical fiction. I draw pictures. I have a PhD in computer science and I love my family.

Responses (1)