GETTING_STARTED.md 677 字节
Newer Older
W
wangguibao 已提交
1 2 3

# Getting Started

W
wangguibao 已提交
4 5
请先按照[编译安装说明](INSTALL.md)完成编译

W
wangguibao 已提交
6 7 8 9 10
## 运行示例
说明:Imagenet图像分类模型,默认采用CPU模式(GPU模式当前版本暂未提供支持)

Step1:启动Server端:
```shell
W
wangguibao 已提交
11
cd /path/to/paddle-serving/output/demo/serving/ && ./bin/serving &
W
wangguibao 已提交
12 13 14 15 16 17 18 19 20
```

默认启动后日志写在./log/下,可tail日志查看serving端接收请求的日志:
```shell
tail -f log/serving.INFO
```

Step2:启动Client端:
```shell
W
wangguibao 已提交
21
cd path/to/paddle-serving/output/demo/client/image_classification &&  ./bin/ximage &
W
wangguibao 已提交
22 23 24 25 26 27
```

默认启动后日志写在./log/下,可tail日志查看分类结果:
```shell
tail -f log/ximage.INFO
```