【问题标题】:How to convert tflite model from unquanted to quant/ realtime image classifier react-native如何将 tflite 模型从未量化转换为量化/实时图像分类器 react-native
【发布时间】:2020-07-12 11:16:22
【问题描述】:

我从 here 复制了一个 react 本机代码

然后我使用 keras 创建了一个深度学习模型并将其转换为 tflite(他们使用了 mobilenet quant 模型)并用我的替换了代码的模型并用我的替换了 output.JSON。应用程序成功启动,但预测卡住了。我是 react native 的新手,想在 react native 中实现我的 keras 或 tflite 模型,任何人都可以帮我解决这个问题。因为在 react native 和自定义模型中没有用于实时图像分类的示例代码。请帮忙

【问题讨论】:

    标签: reactjs react-native keras deep-learning tensorflow-lite


    【解决方案1】:

    当我使用谷歌的可教机器创建具有相同数据集的 tflite 模型时,将我的模型名称保存为 mask_unquant.tflite 。我认为有量化和非量化的东西。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-11-14
      • 1970-01-01
      • 2020-09-15
      • 2022-01-07
      • 2018-09-07
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多