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

标签 python api tensorflow tensorflow-serving

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

谁能指出我正确的方向?

最佳答案

用于 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

关于python - tensorflow-serving-apis - 找不到 python 文档,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53993578/

相关文章:

python - sess.run() 多个操作 vs 多个 sess.run()

python - 从非修复 header 开始的 csv 中读取 Pandas 数据帧

python - 谁能解释这个错误 [AttributeError : 'DataFrame' object has no attribute 'to_numeric' ]

image - 查找图像中对象的坐标的最简单方法是什么?

javascript - 保护仅 JavaScript 客户端访问远程 API

api - 如何使用Rust通过访问 token 提交新的github问题

python - 从 .txt 文件加载页面内容会破坏 Django 模板系统

python - TensorFlow:如何流畅地使用管道加载、训练和预测图像?

TensorFlow 使用 image_dataset_from_directory 加载图像

python-3.x - 如何继续用新的类和数据训练模型?