File tree 1 file changed +2
-2
lines changed
docs/zh_CN/inference_deployment
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ python3 -m paddle_serving_client.convert --dirname ./ResNet50_vd_infer/ \
85
85
```
86
86
ResNet50_vd 推理模型转换完成后,会在当前文件夹多出 ` ResNet50_vd_serving ` 和 ` ResNet50_vd_client ` 的文件夹,具备如下格式:
87
87
```
88
- |- ResNet50_vd_server /
88
+ |- ResNet50_vd_serving /
89
89
|- inference.pdiparams
90
90
|- inference.pdmodel
91
91
|- serving_server_conf.prototxt
@@ -94,7 +94,7 @@ ResNet50_vd 推理模型转换完成后,会在当前文件夹多出 `ResNet50_
94
94
|- serving_client_conf.prototxt
95
95
|- serving_client_conf.stream.prototxt
96
96
```
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 `
98
98
99
99
** 备注** : Serving 为了兼容不同模型的部署,提供了输入输出重命名的功能。这样,不同的模型在推理部署时,只需要修改配置文件的 alias_name 即可,无需修改代码即可完成推理部署。
100
100
修改后的 serving_server_conf.prototxt 如下所示:
You can’t perform that action at this time.
0 commit comments