【问题标题】:Can TensorFlow Models be Updated on the fly for Android Apps可以为 Android 应用即时更新 TensorFlow 模型吗
【发布时间】:2017-03-01 07:01:26
【问题描述】:

我们有一个要求,即需要在流程上更新模型。我们可以使用一些 API 来获取最新的模型。当我们使用 TensorFlow for android 时可以更新模型吗?如果没有,是否有任何建议的替代方案?

【问题讨论】:

    标签: android machine-learning tensorflow


    【解决方案1】:

    TensorFlow 模型由GraphDef 协议缓冲区表示(假设您在图中有frozen 权重;否则,它们通常需要单独的检查点文件)。因此,您可以通过 RPC 接口(例如 gRPC,它将协议缓冲区作为标准处理)获取更新的模型,并使用它在您的 Android 应用中创建新的 TensorFlow 会话。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2017-02-24
      • 2018-09-03
      • 2017-08-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多