From 073e769f0e588a71c4f25188817d90b8ad56a83f Mon Sep 17 00:00:00 2001 From: wangjiawei04 Date: Wed, 2 Dec 2020 13:10:46 +0000 Subject: [PATCH] fix imangnet pipeline err --- python/examples/pipeline/imagenet/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/python/examples/pipeline/imagenet/README.md b/python/examples/pipeline/imagenet/README.md index f52f7a85..d0fa99e6 100644 --- a/python/examples/pipeline/imagenet/README.md +++ b/python/examples/pipeline/imagenet/README.md @@ -1,19 +1,19 @@ -# 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 ``` -- GitLab