README.md 514 字节
Newer Older
1 2 3 4 5 6
# TTF-Net model on Paddle Serving

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

### Get Model
```
H
huangjianhui 已提交
7
wget --no-check-certificate https://paddle-serving.bj.bcebos.com/pddet_demo/ttfnet_darknet53_1x_coco.tar
8 9 10 11 12
```

### Start the service
```
tar xf ttfnet_darknet53_1x_coco.tar
T
TeslaZhao 已提交
13
python3 -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

### Perform prediction
```
T
TeslaZhao 已提交
19
python3 test_client.py 000000570688.jpg
20
```