README.md 377 字节
Newer Older
T
TeslaZhao 已提交
1 2 3 4 5 6 7 8 9 10
# IMDB model ensemble examples

## Get models
```
sh get_data.sh
```

## Start servers

```
T
TeslaZhao 已提交
11 12 13
python3 -m paddle_serving_server.serve --model imdb_cnn_model --port 9292 &> cnn.log &
python3 -m paddle_serving_server.serve --model imdb_bow_model --port 9393 &> bow.log &
python3 test_pipeline_server.py &>pipeline.log &
T
TeslaZhao 已提交
14 15 16 17
```

## Start clients
```
T
TeslaZhao 已提交
18
python3 test_pipeline_client.py
T
TeslaZhao 已提交
19
```