Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
s920243400
PaddleDetection
提交
f4b8dded
P
PaddleDetection
项目概览
s920243400
/
PaddleDetection
与 Fork 源项目一致
Fork自
PaddlePaddle / PaddleDetection
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleDetection
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
f4b8dded
编写于
3月 29, 2022
作者:
Q
qingqing01
提交者:
GitHub
3月 29, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update docs for PP-YOLOE (#5494)
上级
d3b5ecd5
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
10 addition
and
10 deletion
+10
-10
configs/ppyoloe/README.md
configs/ppyoloe/README.md
+4
-4
configs/ppyoloe/README_cn.md
configs/ppyoloe/README_cn.md
+6
-6
未找到文件。
configs/ppyoloe/README.md
浏览文件 @
f4b8dded
...
...
@@ -75,7 +75,7 @@ CUDA_VISIBLE_DEVICES=0 python tools/infer.py -c configs/ppyoloe/ppyoloe_crn_l_30
### 4. Deployment
-
PaddleInference
[
Python
](
../../deploy/python
)
&
[
C++
](
../../deploy/cpp
)
-
Paddle
Inference
[
Python
](
../../deploy/python
)
&
[
C++
](
../../deploy/cpp
)
-
[
Paddle-TensorRT
](
../../deploy/TENSOR_RT.md
)
-
[
Paddle2ONNX
](
https://github.com/PaddlePaddle/Paddle2ONNX
)
-
[
PaddleServing
](
https://github.com/PaddlePaddle/Serving
)
...
...
@@ -86,16 +86,16 @@ For deployment on GPU or benchmarked, model should be first exported to inferenc
Exporting PP-YOLOE for Paddle Inference
**without TensorRT**
, use following command.
```
bash
python tools/export_model.py configs/ppyoloe/ppyoloe_crn_l_300e_coco.yml
-o
weights
=
https://paddledet.bj.bcebos.com/models/ppyoloe_crn_l_300e_coco.pdparams
python tools/export_model.py
-c
configs/ppyoloe/ppyoloe_crn_l_300e_coco.yml
-o
weights
=
https://paddledet.bj.bcebos.com/models/ppyoloe_crn_l_300e_coco.pdparams
```
Exporting PP-YOLOE for Paddle Inference
**with TensorRT**
for better performance, use following command with extra
`-o trt=True`
setting.
```
bash
python tools/export_model.py configs/ppyoloe/ppyoloe_crn_l_300e_coco.yml
-o
weights
=
https://paddledet.bj.bcebos.com/models/ppyoloe_crn_l_300e_coco.pdparams
trt
=
True
python tools/export_model.py
-c
configs/ppyoloe/ppyoloe_crn_l_300e_coco.yml
-o
weights
=
https://paddledet.bj.bcebos.com/models/ppyoloe_crn_l_300e_coco.pdparams
trt
=
True
```
`deploy/python/infer.py`
is used to load exported paddle inference model above for inference and benchmark through PaddleInference.
`deploy/python/infer.py`
is used to load exported paddle inference model above for inference and benchmark through Paddle
Inference.
```
bash
# inference single image
...
...
configs/ppyoloe/README_cn.md
浏览文件 @
f4b8dded
...
...
@@ -76,7 +76,7 @@ CUDA_VISIBLE_DEVICES=0 python tools/infer.py -c configs/ppyoloe/ppyoloe_crn_l_30
### 4. 部署
-
PaddleInference
[
Python
](
../../deploy/python
)
&
[
C++
](
../../deploy/cpp
)
-
Paddle
Inference
[
Python
](
../../deploy/python
)
&
[
C++
](
../../deploy/cpp
)
-
[
Paddle-TensorRT
](
../../deploy/TENSOR_RT.md
)
-
[
Paddle2ONNX
](
https://github.com/PaddlePaddle/Paddle2ONNX
)
-
[
PaddleServing
](
https://github.com/PaddlePaddle/Serving
)
...
...
@@ -84,19 +84,19 @@ CUDA_VISIBLE_DEVICES=0 python tools/infer.py -c configs/ppyoloe/ppyoloe_crn_l_30
PP-YOLOE在GPU上部署或者推理benchmark需要通过
`tools/export_model.py`
导出模型。
当你使用Paddle
Inferenced
但不使用TensorRT时,运行以下的命令进行导出
当你使用Paddle
Inference
但不使用TensorRT时,运行以下的命令进行导出
```
bash
python tools/export_model.py configs/ppyoloe/ppyoloe_crn_l_300e_coco.yml
-o
weights
=
https://paddledet.bj.bcebos.com/models/ppyoloe_crn_l_300e_coco.pdparams
python tools/export_model.py
-c
configs/ppyoloe/ppyoloe_crn_l_300e_coco.yml
-o
weights
=
https://paddledet.bj.bcebos.com/models/ppyoloe_crn_l_300e_coco.pdparams
```
当你使用PaddleInference的TensorRT时,需要指定
`-o trt=True`
进行导出
当你使用Paddle
Inference的TensorRT时,需要指定
`-o trt=True`
进行导出
```
bash
python tools/export_model.py configs/ppyoloe/ppyoloe_crn_l_300e_coco.yml
-o
weights
=
https://paddledet.bj.bcebos.com/models/ppyoloe_crn_l_300e_coco.pdparams
trt
=
True
python tools/export_model.py
-c
configs/ppyoloe/ppyoloe_crn_l_300e_coco.yml
-o
weights
=
https://paddledet.bj.bcebos.com/models/ppyoloe_crn_l_300e_coco.pdparams
trt
=
True
```
`deploy/python/infer.py`
使用上述导出后的PaddleInference模型用于推理和benchnark.
`deploy/python/infer.py`
使用上述导出后的Paddle
Inference模型用于推理和benchnark.
```
bash
# 推理单张图片
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录