Gaurav Reddy
Gaurav Reddy

Reputation: 11

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 !!

Upvotes: 0

Views: 1190

Answers (1)

nutsiepully
nutsiepully

Reputation: 1106

Kindly upgrade your TFLite version. Your model is using TFLite Resource type which doesn't exist in your TFLite runtime library.

Upvotes: 1

Related Questions