Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleDetection
提交
85a0370d
P
PaddleDetection
项目概览
PaddlePaddle
/
PaddleDetection
大约 1 年 前同步成功
通知
695
Star
11112
Fork
2696
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
184
列表
看板
标记
里程碑
合并请求
40
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleDetection
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
184
Issue
184
列表
看板
标记
里程碑
合并请求
40
合并请求
40
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
85a0370d
编写于
11月 15, 2021
作者:
G
Guanghua Yu
提交者:
GitHub
11月 15, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[cherry-pick] update picodet readme (#4583)
* Update citation of some code
上级
616ef634
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
47 addition
and
5 deletion
+47
-5
configs/picodet/README.md
configs/picodet/README.md
+46
-4
deploy/lite/README.md
deploy/lite/README.md
+1
-1
未找到文件。
configs/picodet/README.md
浏览文件 @
85a0370d
...
...
@@ -22,8 +22,8 @@ We developed a series of lightweight models, named `PP-PicoDet`. Because of the
## Benchmark
| Model | Input size | mAP
<sup>
val
<br>
0.5:0.95 | mAP
<sup>
val
<br>
0.5 | Params
<br><sup>
(M) | FLOPS
<br><sup>
(G) | Latency
<sup><small>
[
NCNN
](
#latency
)
</small><sup><br><sup>
(ms) | Latency
<sup><small>
[
Lite
](
#latency
)
</small><sup><br><sup>
(ms) |
download | c
onfig |
| :-------- | :--------: | :---------------------: | :----------------: | :----------------: | :---------------: | :-----------------------------: | :-----------------------------: | :----------------------------------------
-----------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------
--------------------------------------- |
| Model | Input size | mAP
<sup>
val
<br>
0.5:0.95 | mAP
<sup>
val
<br>
0.5 | Params
<br><sup>
(M) | FLOPS
<br><sup>
(G) | Latency
<sup><small>
[
NCNN
](
#latency
)
</small><sup><br><sup>
(ms) | Latency
<sup><small>
[
Lite
](
#latency
)
</small><sup><br><sup>
(ms) |
Download | C
onfig |
| :-------- | :--------: | :---------------------: | :----------------: | :----------------: | :---------------: | :-----------------------------: | :-----------------------------: | :----------------------------------------
: | :
--------------------------------------- |
| PicoDet-S | 320
*320 | 27.1 | 41.4 | 0.99 | 0.73 | 8.13 | **6.65*
*
|
[
model
](
https://paddledet.bj.bcebos.com/models/picodet_s_320_coco.pdparams
)
|
[
log
](
https://paddledet.bj.bcebos.com/logs/train_picodet_s_320_coco.log
)
|
[
config
](
https://github.com/PaddlePaddle/PaddleDetection/tree/release/2.3/configs/picodet/picodet_s_320_coco.yml
)
|
| PicoDet-S | 416
*416 | 30.6 | 45.5 | 0.99 | 1.24 | 12.37 | **9.82*
*
|
[
model
](
https://paddledet.bj.bcebos.com/models/picodet_s_416_coco.pdparams
)
|
[
log
](
https://paddledet.bj.bcebos.com/logs/train_picodet_s_416_coco.log
)
|
[
config
](
https://github.com/PaddlePaddle/PaddleDetection/tree/release/2.3/configs/picodet/picodet_s_416_coco.yml
)
|
| PicoDet-M | 320
*320 | 30.9 | 45.7 | 2.15 | 1.48 | 11.27 | **9.61*
*
|
[
model
](
https://paddledet.bj.bcebos.com/models/picodet_m_320_coco.pdparams
)
|
[
log
](
https://paddledet.bj.bcebos.com/logs/train_picodet_m_320_coco.log
)
|
[
config
](
https://github.com/PaddlePaddle/PaddleDetection/tree/release/2.3/configs/picodet/picodet_m_320_coco.yml
)
|
...
...
@@ -34,12 +34,13 @@ We developed a series of lightweight models, named `PP-PicoDet`. Because of the
#### More Configs
| Model | Input size | mAP
<sup>
val
<br>
0.5:0.95 | mAP
<sup>
val
<br>
0.5 | Params
<br><sup>
(M) | FLOPS
<br><sup>
(G) | Latency
<sup><small>
[
NCNN
](
#latency
)
</small><sup><br><sup>
(ms) | Latency
<sup><small>
[
Lite
](
#latency
)
</small><sup><br><sup>
(ms) |
download | c
onfig |
| :--------
------------------- | :--------: | :---------------------: | :----------------: | :----------------: | :---------------: | :-----------------------------: | :-----------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------
--------------------------------------- |
| Model | Input size | mAP
<sup>
val
<br>
0.5:0.95 | mAP
<sup>
val
<br>
0.5 | Params
<br><sup>
(M) | FLOPS
<br><sup>
(G) | Latency
<sup><small>
[
NCNN
](
#latency
)
</small><sup><br><sup>
(ms) | Latency
<sup><small>
[
Lite
](
#latency
)
</small><sup><br><sup>
(ms) |
Download | C
onfig |
| :--------
| :--------: | :---------------------: | :----------------: | :----------------: | :---------------: | :-----------------------------: | :-----------------------------: | :----------------------------------------: | :
--------------------------------------- |
| PicoDet-Shufflenetv2 1x | 416
*416 | 30.0 | 44.6 | 1.17 | 1.53 | 15.06 | **10.63*
*
|
[
model
](
https://paddledet.bj.bcebos.com/models/picodet_shufflenetv2_1x_416_coco.pdparams
)
|
[
log
](
https://paddledet.bj.bcebos.com/logs/train_picodet_shufflenetv2_1x_416_coco.log
)
|
[
config
](
https://github.com/PaddlePaddle/PaddleDetection/tree/release/2.3/configs/picodet/more_config/picodet_shufflenetv2_1x_416_coco.yml
)
|
| PicoDet-MobileNetv3-large 1x | 416
*416 | 35.6 | 52.0 | 3.55 | 2.80 | 20.71 | **17.88*
*
|
[
model
](
https://paddledet.bj.bcebos.com/models/picodet_mobilenetv3_large_1x_416_coco.pdparams
)
|
[
log
](
https://paddledet.bj.bcebos.com/logs/train_picodet_mobilenetv3_large_1x_416_coco.log
)
|
[
config
](
https://github.com/PaddlePaddle/PaddleDetection/tree/release/2.3/configs/picodet/more_config/picodet_mobilenetv3_large_1x_416_coco.yml
)
|
| PicoDet-LCNet 1.5x | 416
*416 | 36.3 | 52.2 | 3.10 | 3.85 | 21.29 | **20.8*
*
|
[
model
](
https://paddledet.bj.bcebos.com/models/picodet_lcnet_1_5x_416_coco.pdparams
)
|
[
log
](
https://paddledet.bj.bcebos.com/logs/train_picodet_lcnet_1_5x_416_coco.log
)
|
[
config
](
https://github.com/PaddlePaddle/PaddleDetection/tree/release/2.3/configs/picodet/more_config/picodet_lcnet_1_5x_416_coco.yml
)
|
<details
open
>
<summary><b>
Table Notes:
</b></summary>
...
...
@@ -190,6 +191,22 @@ paddle2onnx --model_dir output_inference/picodet_s_320_coco/ \
</details>
-
Deploy models
| Model | Input size | ONNX | Paddle Lite(fp32) | Paddle Lite(fp16) |
| :-------- | :--------: | :---------------------: | :----------------: | :----------------: |
| PicoDet-S | 320
*
320 |
[
model
](
https://paddledet.bj.bcebos.com/deploy/third_engine/picodet_s_320_coco.onnx
)
|
[
model
](
https://paddledet.bj.bcebos.com/deploy/paddlelite/picodet_s_320.tar
)
|
[
model
](
https://paddledet.bj.bcebos.com/deploy/paddlelite/picodet_s_320_fp16.tar
)
|
| PicoDet-S | 416
*
416 |
[
model
](
https://paddledet.bj.bcebos.com/deploy/third_engine/picodet_s_416_coco.onnx
)
|
[
model
](
https://paddledet.bj.bcebos.com/deploy/paddlelite/picodet_s_416.tar
)
|
[
model
](
https://paddledet.bj.bcebos.com/deploy/paddlelite/picodet_s_416_fp16.tar
)
|
| PicoDet-M | 320
*
320 |
[
model
](
https://paddledet.bj.bcebos.com/deploy/third_engine/picodet_m_320_coco.onnx
)
|
[
model
](
https://paddledet.bj.bcebos.com/deploy/paddlelite/picodet_m_320.tar
)
|
[
model
](
https://paddledet.bj.bcebos.com/deploy/paddlelite/picodet_m_320_fp16.tar
)
|
| PicoDet-M | 416
*
416 |
[
model
](
https://paddledet.bj.bcebos.com/deploy/third_engine/picodet_m_416_coco.onnx
)
|
[
model
](
https://paddledet.bj.bcebos.com/deploy/paddlelite/picodet_m_416.tar
)
|
[
model
](
https://paddledet.bj.bcebos.com/deploy/paddlelite/picodet_m_416_fp16.tar
)
|
| PicoDet-L | 320
*
320 |
[
model
](
https://paddledet.bj.bcebos.com/deploy/third_engine/picodet_l_320_coco.onnx
)
|
[
model
](
https://paddledet.bj.bcebos.com/deploy/paddlelite/picodet_l_320.tar
)
|
[
model
](
https://paddledet.bj.bcebos.com/deploy/paddlelite/picodet_l_320_fp16.tar
)
|
| PicoDet-L | 416
*
416 |
[
model
](
https://paddledet.bj.bcebos.com/deploy/third_engine/picodet_l_416_coco.onnx
)
|
[
model
](
https://paddledet.bj.bcebos.com/deploy/paddlelite/picodet_l_416.tar
)
|
[
model
](
https://paddledet.bj.bcebos.com/deploy/paddlelite/picodet_l_416_fp16.tar
)
|
| PicoDet-L | 640
*
640 |
[
model
](
https://paddledet.bj.bcebos.com/deploy/third_engine/picodet_l_640_coco.onnx
)
|
[
model
](
https://paddledet.bj.bcebos.com/deploy/paddlelite/picodet_l_640.tar
)
|
[
model
](
https://paddledet.bj.bcebos.com/deploy/paddlelite/picodet_l_640_fp16.tar
)
|
| PicoDet-Shufflenetv2 1x | 416
*
416 |
[
model
](
https://paddledet.bj.bcebos.com/deploy/third_engine/picodet_shufflenetv2_1x_416_coco.onnx
)
|
[
model
](
https://paddledet.bj.bcebos.com/deploy/paddlelite/picodet_shufflenetv2_1x.tar
)
|
[
model
](
https://paddledet.bj.bcebos.com/deploy/paddlelite/picodet_shufflenetv2_1x_fp16.tar
)
|
| PicoDet-MobileNetv3-large 1x | 416
*
416 |
[
model
](
https://paddledet.bj.bcebos.com/deploy/third_engine/picodet_mobilenetv3_large_1x_416_coco.onnx
)
|
[
model
](
https://paddledet.bj.bcebos.com/deploy/paddlelite/picodet_mobilenetv3_large_1x.tar
)
|
[
model
](
https://paddledet.bj.bcebos.com/deploy/paddlelite/picodet_mobilenetv3_large_1x_fp16.tar
)
|
| PicoDet-LCNet 1.5x | 416
*
416 |
[
model
](
https://paddledet.bj.bcebos.com/deploy/third_engine/picodet_lcnet_1_5x_416_coco.onnx
)
|
[
model
](
https://paddledet.bj.bcebos.com/deploy/paddlelite/picodet_lcnet_1_5x.tar
)
|
[
model
](
https://paddledet.bj.bcebos.com/deploy/paddlelite/picodet_lcnet_1_5x_fp16.tar
)
|
### Deploy
-
PaddleInference demo
[
Python
](
../../deploy/python
)
&
[
C++
](
../../deploy/cpp
)
...
...
@@ -206,6 +223,11 @@ Android demo visualization:
</div>
## Application
-
**Pedestrian detection:**
model zoo of
`PicoDet-S-Pedestrian`
please refer to
[
PP-TinyPose
](
https://github.com/PaddlePaddle/PaddleDetection/tree/release/2.3/configs/keypoint/tiny_pose#%E8%A1%8C%E4%BA%BA%E6%A3%80%E6%B5%8B%E6%A8%A1%E5%9E%8B
)
## Quantization
<details
open
>
...
...
@@ -232,6 +254,8 @@ python tools/train.py -c configs/picodet/picodet_s_320_coco.yml \
--slim_config
configs/slim/quant/picodet_s_quant.yml
--eval
```
-
More detail can refer to
[
slim document
](
https://github.com/PaddlePaddle/PaddleDetection/tree/develop/configs/slim
)
</details>
<details>
...
...
@@ -257,6 +281,24 @@ Please reduce the `batch_size` of `TrainReader` in config.
</details>
<details>
<summary>
How to transfer learning.
</summary>
Please reset
`pretrain_weights`
in config, which trained on coco. Such as:
```
yaml
pretrain_weights
:
https://paddledet.bj.bcebos.com/models/picodet_l_640_coco.pdparams
```
</details>
<details>
<summary>
The transpose operator is time-consuming on some hardware.
</summary>
Please use
`PicoDet-LCNet`
model, which has fewer
`transpose`
operators.
</details>
## Cite PP-PiocDet
If you use PiocDet in your research, please cite our work by using the following BibTeX entry:
```
...
...
deploy/lite/README.md
浏览文件 @
85a0370d
...
...
@@ -26,7 +26,7 @@ Paddle Lite是飞桨轻量化推理引擎,为手机、IOT端提供高效推理
|-|-|-|
|Android| arm7 |
[
inference_lite_lib
](
https://github.com/PaddlePaddle/Paddle-Lite/releases/download/v2.10-rc/inference_lite_lib.android.armv7.clang.c++_static.with_extra.with_cv.tar.gz
)
|
| Android | arm8 |
[
inference_lite_lib
](
https://github.com/PaddlePaddle/Paddle-Lite/releases/download/v2.10-rc/inference_lite_lib.android.armv8.clang.c++_static.with_extra.with_cv.tar.gz
)
|
| Android | arm8(FP16) |
[
inference_lite_lib
](
https://github.com/PaddlePaddle/Paddle-Lite/releases/download/v2.10-rc/inference_lite_lib.android.armv8_clang_c++_static_with_extra_with_cv_with_fp16.tiny_publish.zip
)
|
| Android | arm8(FP16) |
[
inference_lite_lib
](
https://github.com/PaddlePaddle/Paddle-Lite/releases/download/v2.10-rc/inference_lite_lib.android.armv8_clang_c++_static_with_extra_with_cv_with_fp16.tiny_publish
_427e46
.zip
)
|
**注意**
:1. 如果是从 Paddle-Lite
[
官方文档
](
https://paddle-lite.readthedocs.io/zh/latest/quick_start/release_lib.html#android-toolchain-gcc
)
下载的预测库,注意选择
`with_extra=ON,with_cv=ON`
的下载链接。2. 目前只提供Android端demo,IOS端demo可以参考
[
Paddle-Lite IOS demo
](
https://github.com/PaddlePaddle/Paddle-Lite-Demo/tree/master/PaddleLite-ios-demo
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录