【发布时间】:2022-01-14 16:54:06
【问题描述】:
系统信息
- 我是否编写了自定义代码:
interpreter = tf.lite.Interpreter(model_path="models/saved_model.tflite") - 操作系统平台和发行版:
RaspberryPi 3B+ - TensorFlow Git 版本:
v2.4.0-0-g582c8d2 - TensorFlow 版本:
2.4.0 - 安装源:
https://github.com/bitsy-ai/tensorflow-arm-bin/releases/download/v2.4.0/tensorflow-2.4.0-cp37-none-linux_armv7l.whl - Python 版本:
Python 3.7.3 - 关于 tflite 模型的更多信息:在
40类上自定义训练的 EfficientDet-B0
错误:
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