tensorflow-serving-apis-找不到python文档

时间:2019-01-01 06:53:49

标签: python api tensorflow tensorflow-serving

我一直在尝试使用tensorflow服务来服务模型,并使用tensorflow-serving-api,如此处所述:https://github.com/tensorflow/serving/tree/master/tensorflow_serving/apis 我正在使用python并尝试尝试,但找不到该包的文档。 pypi page重定向here(tensorflow服务),其中不包含python客户端包装的文档。这个地方也不https://www.tensorflow.org/serving/api_docs/cc/

有人能指出我正确的方向吗?

1 个答案:

答案 0 :(得分:1)

针对Python的Tensorflow服务API记录得不够好。最简单的解决方案是浏览下面提供的示例。代码很简单

https://github.com/tensorflow/serving/tree/master/tensorflow_serving/example

您还可以在下面的博客中查看这些博客,这些博客解释了如何通过gRCP很好地提供服务。

https://medium.freecodecamp.org/how-to-deploy-tensorflow-models-to-production-using-tf-serving-4b4b78d41700