From 1710d23041af23a7681634ef3244472d5b180861 Mon Sep 17 00:00:00 2001 From: Bin Lu Date: Tue, 2 Nov 2021 16:12:04 +0800 Subject: [PATCH] Update paddle_serving_deploy.md --- .../inference_deployment/paddle_serving_deploy.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/zh_CN/inference_deployment/paddle_serving_deploy.md b/docs/zh_CN/inference_deployment/paddle_serving_deploy.md index 06a9fb69..5d91a741 100644 --- a/docs/zh_CN/inference_deployment/paddle_serving_deploy.md +++ b/docs/zh_CN/inference_deployment/paddle_serving_deploy.md @@ -3,6 +3,7 @@ - [Serving安装](#Serving安装) - [图像分类服务部署](#图像分类服务部署) - [图像识别服务部署](#图像识别服务部署) +- [FAQ](#FAQ) ## 1. 简介 @@ -121,4 +122,14 @@ python3 pipeline_http_client.py ## 4.图像识别服务部署 + +## 5.FAQ +**Q1**: 发送请求后没有结果返回或者提示输出解码报错 + +**A1**: 启动服务和发送请求时不要设置代理,可以在启动服务前和发送请求前关闭代理,关闭代理的命令是: +``` +unset https_proxy +unset http_proxy +``` + 更多的服务部署类型,如 `RPC预测服务` 等,可以参考 Serving 的 github 官网:[https://github.com/PaddlePaddle/Serving/tree/develop/python/examples/imagenet](https://github.com/PaddlePaddle/Serving/tree/develop/python/examples/imagenet) -- GitLab