提交 073e769f 编写于 作者: W wangjiawei04

fix imangnet pipeline err

上级 30c54f99
# Simple Pipeline WebService
# Imagenet Pipeline WebService
This document will takes UCI service as an example to introduce how to use Pipeline WebService.
This document will takes Imagenet service as an example to introduce how to use Pipeline WebService.
## Get model
```
sh get_data.sh
sh get_model.sh
```
## Start server
```
python web_service.py &>log.txt &
python resnet50_web_service.py &>log.txt &
```
## Http test
## RPC test
```
curl -X POST -k http://localhost:18082/uci/prediction -d '{"key": ["x"], "value": ["0.0137, -0.1136, 0.2553, -0.0692, 0.0582, -0.0727, -0.1583, -0.0584, 0.6283, 0.4919, 0.1856, 0.0795, -0.0332"]}'
python pipeline_rpc_client.py
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册