如何通过带有Tensorflow服务的Restful API推论Inception PB模型?

时间:2018-10-12 09:28:41

标签: tensorflow model serving

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

1 个答案:

答案 0 :(得分:0)

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

有关更多信息,请参见the documentation