Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 416 Bytes

File metadata and controls

19 lines (14 loc) · 416 Bytes

Simple Pipeline WebService

这里以 Uci 服务为例来介绍 Pipeline WebService 的使用。

获取模型

sh get_data.sh

启动服务

python3 web_service.py &>log.txt &

测试

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"]}'