如何在不进行图像分类的情况下运行tflite模型

问题描述 投票:0回答:1

我看过几本有关如何运行tflite模型进行图像分类的教程,但不知道如何为其他任何应用程序使用它。例如,我有一个模型,该模型以以下形式接收音频数据: (16000,1)个数组。如何将该数组传递到tflite模型中?

swift xcode tensorflow audio tensorflow-lite
1个回答
0
投票

TensorFlow Lite提供了我们在移动,嵌入式和IoT设备上转换和运行TensorFlow models所需的所有工具。

要将modelTensorFlow Lite一起使用,我们必须将完整的TensorFlow model转换为TensorFlow Lite格式。我们无法使用TensorFlow Lite创建或训练模型。因此,我们必须以常规的TensorFlow model开始,然后是convert the model

请参阅准备在应用程序中使用的预训练模型的完整列表:in Models

如果我们设计并训练了自己的TensorFlow模型,或者训练了从其他来源获得的模型,则必须将其转换为TensorFlow Lite格式。

参考: TensorFlow Lite

© www.soinside.com 2019 - 2024. All rights reserved.