ValueError: Unsupported data type 14 in tensor

System information

ERROR :

Traceback (most recent call last):
  File "detect.py", line 8, in <module>
    interpreter = tf.lite.Interpreter(model_path="models/saved_model.tflite")
  File "/home/pi/.local/lib/python3.7/site-packages/tensorflow_core/lite/python/interpreter.py", line 209, in __init__
    model_path, self._custom_op_registerers))
ValueError: Unsupported data type 14 in tensor
Unsupported data type 14 in tensor
Unsupported data type 14 in tensor
Unsupported data type 14 in tensor
Unsupported data type 14 in tensor
Unsupported data type 14 in tensor

Note : If you are suggesting me to upgrade or downgrade the packages, please provide necessary code with it.

Thanks !!

@Gaurav_Reddy,

You can try to clone Tensorflow Repo and checkout 2.13 version which is the latest stable version and run the below command

PYTHON=python3 tensorflow/lite/tools/pip_package/build_pip_package_with_cmake.sh native

Please follow these instructions for the installation.

Thank you!