【问题标题】:Example use of tensorflow-serving for image segmentation使用 tensorflow-serving 进行图像分割的示例
【发布时间】:2017-08-04 04:14:08
【问题描述】:

有没有人研究过如何使用 tensorflow 服务进行图像分割任务的模板示例?

如果您可以分享代码或分享一些想法,请不胜感激。

【问题讨论】:

    标签: tensorflow image-segmentation tensorflow-serving


    【解决方案1】:

    This post 解释了如何通过 TensorFlow Serving with Docker 和 HTTP 发布和使用图像模型。没有 Docker,客户端是相同的。您可以找到帖子使用的代码here

    基本上,您必须使用格式为{"instances" : [{"b64": <image_in_jpg_in_base64>}]} 的JSON POST 到http://host:port/v1/models/${MODEL_NAME}:predict。您可以了解更多关于 TF Serving RESTful API here

    【讨论】:

      猜你喜欢
      • 2016-07-23
      • 1970-01-01
      • 2012-12-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-11-15
      相关资源
      最近更新 更多