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

# Getting Started

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

W
wangguibao 已提交
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
## 运行示例
说明:Imagenet图像分类模型,默认采用CPU模式(GPU模式当前版本暂未提供支持)

Step1:启动Server端:
```shell
cd paddle-serving/output/demo/serving/ && ./bin/serving &
```

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

Step2:启动Client端:
```shell
cd paddle-serving/output/demo/client/image_class &&  ./bin/ximage &
```

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