【问题标题】:How inference an inception pb model by restful API with tensorflow serving?如何通过带有 tensorflow 服务的 restful API 推断 inception pb 模型?
【发布时间】:2018-10-12 09:28:41
【问题描述】:

我有一个 github 的 incepiton pb 模型:“serving/tensorflow_serving/example/inception_saved_model.py”。我想通过 RESTful API 进行预测,但发现一条错误消息。我想知道参数“图像”如何正确格式化数据?enter image description here

【问题讨论】:

    标签: tensorflow model serving


    【解决方案1】:

    确保对字符串进行编码,以确保它是网络安全的。网络安全意味着编码器使用 - 和 _ 而不是 + 和 /。

    请参阅the documentation 了解更多信息。

    【讨论】:

      猜你喜欢
      • 2018-09-03
      • 1970-01-01
      • 2016-03-06
      • 2018-05-19
      • 2020-11-06
      • 1970-01-01
      • 2017-02-22
      • 2019-02-18
      • 2016-09-11
      相关资源
      最近更新 更多