【问题标题】:ValueError: Unsupported data type 14 in tensorValueError:张量中不支持的数据类型 14
【发布时间】:2022-01-14 16:54:06
【问题描述】:

系统信息

错误:

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

注意:如果您建议我升级或降级软件包,请提供必要的代码。

谢谢!!

【问题讨论】:

标签: python tensorflow raspberry-pi object-detection tensorflow-lite


【解决方案1】:

请升级您的 TFLite 版本。您的模型正在使用 TFLite 运行时库中不存在的 TFLite 资源类型。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-07-05
    • 2020-09-09
    • 2018-08-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-10-15
    相关资源
    最近更新 更多