提交 6791b4ae 编写于 作者: S shenyuhan

add serving demo

## 数据格式 ## 数据格式
input: {"text1": [text_a1, text_a2, ...], "text2": [text_b1, text_b2, ...]} input: {"text1": [text_a1, text_a2, ...], "text2": [text_b1, text_b2, ...]}
output: {"result":[result_1, result_2, ...]} output: {"results":[result_1, result_2, ...]}
## Serving快速启动命令 ## Serving快速启动命令
```shell ```shell
......
...@@ -8,7 +8,7 @@ $ hub serving start -m deeplabv3p_xception65_humanseg ...@@ -8,7 +8,7 @@ $ hub serving start -m deeplabv3p_xception65_humanseg
``` ```
## python脚本 ## python脚本
``` ```shell
$ python deeplabv3p_xception65_humanseg_serving_demo.py $ python deeplabv3p_xception65_humanseg_serving_demo.py
``` ```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册