Skip to content

Commit f6d6559

Browse files
committed
fix serving doc problem
1 parent ddcfd7e commit f6d6559

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/zh_CN/inference_deployment/paddle_serving_deploy.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ python3 -m paddle_serving_client.convert --dirname ./ResNet50_vd_infer/ \
8585
```
8686
ResNet50_vd 推理模型转换完成后,会在当前文件夹多出 `ResNet50_vd_serving``ResNet50_vd_client` 的文件夹,具备如下格式:
8787
```
88-
|- ResNet50_vd_server/
88+
|- ResNet50_vd_serving/
8989
|- inference.pdiparams
9090
|- inference.pdmodel
9191
|- serving_server_conf.prototxt
@@ -94,7 +94,7 @@ ResNet50_vd 推理模型转换完成后,会在当前文件夹多出 `ResNet50_
9494
|- serving_client_conf.prototxt
9595
|- serving_client_conf.stream.prototxt
9696
```
97-
得到模型文件之后,需要分别修改 `ResNet50_vd_server``ResNet50_vd_client` 下文件 `serving_server_conf.prototxt` 中的 alias 名字:将 `fetch_var` 中的 `alias_name` 改为 `prediction`
97+
得到模型文件之后,需要分别修改 `ResNet50_vd_serving``ResNet50_vd_client` 下文件 `serving_server_conf.prototxt` 中的 alias 名字:将 `fetch_var` 中的 `alias_name` 改为 `prediction`
9898

9999
**备注**: Serving 为了兼容不同模型的部署,提供了输入输出重命名的功能。这样,不同的模型在推理部署时,只需要修改配置文件的 alias_name 即可,无需修改代码即可完成推理部署。
100100
修改后的 serving_server_conf.prototxt 如下所示:

0 commit comments

Comments
 (0)