README.md 517 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
# TTF-Net model on Paddle Serving

([简体中文](./README_CN.md)|English)

### Get Model
```
wget --no-check-certificate https://paddle-serving.bj.bcebos.com/pddet_demo/2.0/ttfnet_darknet53_1x_coco.tar
```

### Start the service
```
tar xf ttfnet_darknet53_1x_coco.tar
Z
zhangjun 已提交
13
python -m paddle_serving_server.serve --model serving_server --port 9494 --gpu_ids 0
14
```
W
wangjiawei04 已提交
15
This model support TensorRT, if you want a faster inference, please use `--use_trt`.
16 17 18 19 20 21

### Perform prediction
```
python test_client.py 000000570688.jpg
```