【发布时间】:2020-11-12 20:42:11
【问题描述】:
我正在尝试移植一些代码以在 Raspberry Pi 上工作。此代码使用 TensorFlow,但仅用于三个功能。
from tensorflow.keras.applications.mobilenet_v2 import preprocess_input
from tensorflow.keras.preprocessing.image import img_to_array
from tensorflow.keras.models import load_model
Instructions 说简单导入:
import tflite_runtime.interpreter as tflite
tensorflow-lite 中是否提供 preprocess_input、img_to_array 和 load_model 函数?如果是,我该如何访问它们?如果没有,是否有解决方法?
【问题讨论】:
标签: python-3.x tensorflow tensorflow-lite