You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\ProgramData\Anaconda3\lib\site-packages\tensorflow_text_init_.py in
18
19 # pylint: disable=wildcard-import
---> 20 from tensorflow_text.core.pybinds import tflite_registrar
21 from tensorflow_text.python import keras
22 from tensorflow_text.python import metrics
ImportError: DLL load failed while importing tflite_registrar:
TypeError: Error when deserializing class 'CLIPTokenizer' using config={'name': 'clip_l_tokenizer', 'trainable': True, 'dtype': 'int32', 'config_file': 'clip_l_tokenizer.json', 'sequence_length': None, 'add_prefix_space': False, 'pad_with_end_token': True}.
Exception encountered: CLIPTokenizer requires tensorflow and tensorflow-text for text processing. Run pip install tensorflow-text to install both packages or visit https://www.tensorflow.org/install
If tensorflow-text is already installed, try importing it in a clean python session. Your installation may have errors.
KerasHub uses tf.data and tensorflow-text to preprocess text on all Keras backends. If you are running on Jax or Torch, this installation does not need GPU support.
During handling of the above exception, another exception occurred:
tensorflow text 2.16.1 is not available in windows。
Would you like to help us fix it?
The text was updated successfully, but these errors were encountered:
Describe the bug
import tensorflow_text
ImportError Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_17348\101723867.py in
----> 1 import tensorflow_text
C:\ProgramData\Anaconda3\lib\site-packages\tensorflow_text_init_.py in
18
19 # pylint: disable=wildcard-import
---> 20 from tensorflow_text.core.pybinds import tflite_registrar
21 from tensorflow_text.python import keras
22 from tensorflow_text.python import metrics
ImportError: DLL load failed while importing tflite_registrar:
TypeError: Error when deserializing class 'CLIPTokenizer' using config={'name': 'clip_l_tokenizer', 'trainable': True, 'dtype': 'int32', 'config_file': 'clip_l_tokenizer.json', 'sequence_length': None, 'add_prefix_space': False, 'pad_with_end_token': True}.
Exception encountered: CLIPTokenizer requires
tensorflow
andtensorflow-text
for text processing. Runpip install tensorflow-text
to install both packages or visit https://www.tensorflow.org/installIf
tensorflow-text
is already installed, try importing it in a clean python session. Your installation may have errors.KerasHub uses
tf.data
andtensorflow-text
to preprocess text on all Keras backends. If you are running on Jax or Torch, this installation does not need GPU support.During handling of the above exception, another exception occurred:
tensorflow text 2.16.1 is not available in windows。
Would you like to help us fix it?
The text was updated successfully, but these errors were encountered: