Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Serving
提交
91d9d001
S
Serving
项目概览
PaddlePaddle
/
Serving
11 个月 前同步成功
通知
183
Star
833
Fork
253
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
105
列表
看板
标记
里程碑
合并请求
10
Wiki
2
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Serving
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
105
Issue
105
列表
看板
标记
里程碑
合并请求
10
合并请求
10
Pages
分析
分析
仓库分析
DevOps
Wiki
2
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
91d9d001
编写于
2月 10, 2021
作者:
W
wangjiawei04
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fit README add tensorRT
上级
d393efad
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
20 addition
and
3 deletion
+20
-3
python/examples/bert/README.md
python/examples/bert/README.md
+2
-1
python/examples/bert/README_CN.md
python/examples/bert/README_CN.md
+2
-2
python/examples/detection/README.md
python/examples/detection/README.md
+1
-0
python/examples/detection/faster_rcnn_r50_fpn_1x_coco/README.md
.../examples/detection/faster_rcnn_r50_fpn_1x_coco/README.md
+3
-0
python/examples/detection/faster_rcnn_r50_fpn_1x_coco/README_CN.md
...amples/detection/faster_rcnn_r50_fpn_1x_coco/README_CN.md
+1
-0
python/examples/detection/ppyolo_r50vd_dcn_1x_coco/README.md
python/examples/detection/ppyolo_r50vd_dcn_1x_coco/README.md
+2
-0
python/examples/detection/ppyolo_r50vd_dcn_1x_coco/README_CN.md
.../examples/detection/ppyolo_r50vd_dcn_1x_coco/README_CN.md
+2
-0
python/examples/detection/ttfnet_darknet53_1x_coco/README.md
python/examples/detection/ttfnet_darknet53_1x_coco/README.md
+1
-0
python/examples/detection/ttfnet_darknet53_1x_coco/README_CN.md
.../examples/detection/ttfnet_darknet53_1x_coco/README_CN.md
+2
-0
python/examples/detection/yolov3_darknet53_270e_coco/README.md
...n/examples/detection/yolov3_darknet53_270e_coco/README.md
+2
-0
python/examples/detection/yolov3_darknet53_270e_coco/README_CN.md
...xamples/detection/yolov3_darknet53_270e_coco/README_CN.md
+2
-0
未找到文件。
python/examples/bert/README.md
浏览文件 @
91d9d001
...
...
@@ -28,8 +28,9 @@ You can also download the above model from BOS(max_seq_len=128). After decompres
```
shell
wget https://paddle-serving.bj.bcebos.com/paddle_hub_models/text/SemanticModel/bert_chinese_L-12_H-768_A-12.tar.gz
tar
-xzf
bert_chinese_L-12_H-768_A-12.tar.gz
mv
bert_chinese_L-12_H-768_A-12_model bert_seq128_model
mv
bert_chinese_L-12_H-768_A-12_client bert_seq128_client
```
if your model is bert_chinese_L-12_H-768_A-12_model, replace the 'bert_seq128_model' field in the following command with 'bert_chinese_L-12_H-768_A-12_model',replace 'bert_seq128_client' with 'bert_chinese_L-12_H-768_A-12_client'.
### Getting Dict and Sample Dataset
...
...
python/examples/bert/README_CN.md
浏览文件 @
91d9d001
...
...
@@ -25,9 +25,9 @@ python prepare_model.py 128
```
shell
wget https://paddle-serving.bj.bcebos.com/paddle_hub_models/text/SemanticModel/bert_chinese_L-12_H-768_A-12.tar.gz
tar
-xzf
bert_chinese_L-12_H-768_A-12.tar.gz
mv
bert_chinese_L-12_H-768_A-12_model bert_seq128_model
mv
bert_chinese_L-12_H-768_A-12_client bert_seq128_client
```
若使用bert_chinese_L-12_H-768_A-12_model模型,将下面命令中的bert_seq128_model字段替换为bert_chinese_L-12_H-768_A-12_model,bert_seq128_client字段替换为bert_chinese_L-12_H-768_A-12_client.
### 获取词典和样例数据
...
...
python/examples/detection/README.md
浏览文件 @
91d9d001
...
...
@@ -12,6 +12,7 @@ Paddle Detection provides a large number of [Model Zoo](https://github.com/Paddl
### Serving example
Several examples of PaddleDetection models used in Serving are given in this folder
All examples support TensorRT.
-
[
Faster RCNN
](
./faster_rcnn_r50_fpn_1x_coco
)
-
[
PPYOLO
](
./ppyolo_r50vd_dcn_1x_coco
)
...
...
python/examples/detection/faster_rcnn_r50_fpn_1x_coco/README.md
浏览文件 @
91d9d001
...
...
@@ -13,6 +13,9 @@ tar xf faster_rcnn_r50_fpn_1x_coco.tar
python -m paddle_serving_server_gpu.serve --model serving_server --port 9494 --gpu_ids 0
```
This model support TensorRT, if you want a faster inference, please use
`--use_trt`
.
### Perform prediction
```
python test_client.py 000000570688.jpg
...
...
python/examples/detection/faster_rcnn_r50_fpn_1x_coco/README_CN.md
浏览文件 @
91d9d001
...
...
@@ -13,6 +13,7 @@ wget --no-check-certificate https://paddle-serving.bj.bcebos.com/pddet_demo/2.0/
tar xf faster_rcnn_r50_fpn_1x_coco.tar
python -m paddle_serving_server_gpu.serve --model pddet_serving_model --port 9494 --gpu_ids 0
```
该模型支持TensorRT,如果想要更快的预测速度,可以开启
`--use_trt`
选项。
### 执行预测
```
...
...
python/examples/detection/ppyolo_r50vd_dcn_1x_coco/README.md
浏览文件 @
91d9d001
...
...
@@ -13,6 +13,8 @@ tar xf ppyolo_r50vd_dcn_1x_coco.tar
python -m paddle_serving_server_gpu.serve --model serving_server --port 9494 --gpu_ids 0
```
This model support TensorRT, if you want a faster inference, please use
`--use_trt`
.
### Perform prediction
```
python test_client.py 000000570688.jpg
...
...
python/examples/detection/ppyolo_r50vd_dcn_1x_coco/README_CN.md
浏览文件 @
91d9d001
...
...
@@ -14,6 +14,8 @@ tar xf ppyolo_r50vd_dcn_1x_coco.tar
python -m paddle_serving_server_gpu.serve --model pddet_serving_model --port 9494 --gpu_ids 0
```
该模型支持TensorRT,如果想要更快的预测速度,可以开启
`--use_trt`
选项。
### 执行预测
```
python test_client.py 000000570688.jpg
...
...
python/examples/detection/ttfnet_darknet53_1x_coco/README.md
浏览文件 @
91d9d001
...
...
@@ -12,6 +12,7 @@ wget --no-check-certificate https://paddle-serving.bj.bcebos.com/pddet_demo/2.0/
tar xf ttfnet_darknet53_1x_coco.tar
python -m paddle_serving_server_gpu.serve --model serving_server --port 9494 --gpu_ids 0
```
This model support TensorRT, if you want a faster inference, please use
`--use_trt`
.
### Perform prediction
```
...
...
python/examples/detection/ttfnet_darknet53_1x_coco/README_CN.md
浏览文件 @
91d9d001
...
...
@@ -14,6 +14,8 @@ tar xf ttfnet_darknet53_1x_coco.tar
python -m paddle_serving_server_gpu.serve --model pddet_serving_model --port 9494 --gpu_ids 0
```
该模型支持TensorRT,如果想要更快的预测速度,可以开启
`--use_trt`
选项。
### 执行预测
```
python test_client.py 000000570688.jpg
...
...
python/examples/detection/yolov3_darknet53_270e_coco/README.md
浏览文件 @
91d9d001
...
...
@@ -13,6 +13,8 @@ tar xf yolov3_darknet53_270e_coco.tar
python -m paddle_serving_server_gpu.serve --model serving_server --port 9494 --gpu_ids 0
```
This model support TensorRT, if you want a faster inference, please use
`--use_trt`
.
### Perform prediction
```
python test_client.py 000000570688.jpg
...
...
python/examples/detection/yolov3_darknet53_270e_coco/README_CN.md
浏览文件 @
91d9d001
...
...
@@ -14,6 +14,8 @@ tar xf yolov3_darknet53_270e_coco.tar
python -m paddle_serving_server_gpu.serve --model pddet_serving_model --port 9494 --gpu_ids 0
```
该模型支持TensorRT,如果想要更快的预测速度,可以开启
`--use_trt`
选项。
### 执行预测
```
python test_client.py 000000570688.jpg
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录