【问题标题】:tensorflow lite models for android and instructions用于 android 和指令的 tensorflow lite 模型
【发布时间】:2020-11-13 02:08:41
【问题描述】:

我正在尝试按照此处的说明为 android 生成模型。 https://github.com/tensorflow/examples/tree/master/lite/examples/gesture_classification/ml

但是当我尝试在 codelabs 中运行所有命令时,它会要求上传 model.json 和二进制权重文件 model-weights.bin 文件。不知道这是什么意思。

如果我跳过这一步,最后一步失败

No such file or directory: 'model.json'

我在哪里可以找到这些?

【问题讨论】:

    标签: tensorflow tensorflow-lite tensorflow.js google-codelab


    【解决方案1】:

    您需要先使用手势分类 Web 应用生成由您的手势训练的 TensorFlow.js 模型。 https://github.com/tensorflow/examples/tree/master/lite/examples/gesture_classification/web

    从网络应用程序训练模型后,您可以下载其他步骤中需要的文件,如 model.jsonmodel-weights.bin

    【讨论】:

    • 非常感谢。对手部跟踪模型有任何想法吗?我尝试了媒体管道,但在 Windows 上设置起来非常困难。
    • 我也不知道其他流行的手部追踪模型。如果在 Windows 上存在设置问题,您可能应该专门针对这些问题提出一个新问题,或者向 mediapipe github 存储库提交错误。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多