Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
s920243400
PaddleDetection
提交
20ce59dc
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看板
未验证
提交
20ce59dc
编写于
11月 15, 2021
作者:
G
Guanghua Yu
提交者:
GitHub
11月 15, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update picodet readme (#4582)
* update picodet readme
上级
367946e7
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
46 addition
and
5 deletion
+46
-5
configs/picodet/README.md
configs/picodet/README.md
+45
-4
deploy/lite/README.md
deploy/lite/README.md
+1
-1
未找到文件。
configs/picodet/README.md
浏览文件 @
20ce59dc
...
@@ -22,8 +22,8 @@ We developed a series of lightweight models, named `PP-PicoDet`. Because of the
...
@@ -22,8 +22,8 @@ We developed a series of lightweight models, named `PP-PicoDet`. Because of the
## Benchmark
## 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/develop/configs/picodet/picodet_s_320_coco.yml
)
|
| 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/develop/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/develop/configs/picodet/picodet_s_416_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/develop/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/develop/configs/picodet/picodet_m_320_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/develop/configs/picodet/picodet_m_320_coco.yml
)
|
...
@@ -34,8 +34,8 @@ We developed a series of lightweight models, named `PP-PicoDet`. Because of the
...
@@ -34,8 +34,8 @@ We developed a series of lightweight models, named `PP-PicoDet`. Because of the
#### More Configs
#### 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/develop/configs/picodet/more_config/picodet_shufflenetv2_1x_416_coco.yml
)
|
| 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/develop/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/develop/configs/picodet/more_config/picodet_mobilenetv3_large_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/develop/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/develop/configs/picodet/more_config/picodet_lcnet_1_5x_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/develop/configs/picodet/more_config/picodet_lcnet_1_5x_416_coco.yml
)
|
...
@@ -190,6 +190,22 @@ paddle2onnx --model_dir output_inference/picodet_s_320_coco/ \
...
@@ -190,6 +190,22 @@ paddle2onnx --model_dir output_inference/picodet_s_320_coco/ \
</details>
</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
### Deploy
-
PaddleInference demo
[
Python
](
../../deploy/python
)
&
[
C++
](
../../deploy/cpp
)
-
PaddleInference demo
[
Python
](
../../deploy/python
)
&
[
C++
](
../../deploy/cpp
)
...
@@ -206,6 +222,11 @@ Android demo visualization:
...
@@ -206,6 +222,11 @@ Android demo visualization:
</div>
</div>
## Application
-
**Pedestrian detection:**
model zoo of
`PicoDet-S-Pedestrian`
please refer to
[
PP-TinyPose
](
https://github.com/PaddlePaddle/PaddleDetection/tree/develop/configs/keypoint/tiny_pose#%E8%A1%8C%E4%BA%BA%E6%A3%80%E6%B5%8B%E6%A8%A1%E5%9E%8B
)
## Quantization
## Quantization
<details
open
>
<details
open
>
...
@@ -232,6 +253,8 @@ python tools/train.py -c configs/picodet/picodet_s_320_coco.yml \
...
@@ -232,6 +253,8 @@ python tools/train.py -c configs/picodet/picodet_s_320_coco.yml \
--slim_config
configs/slim/quant/picodet_s_quant.yml
--eval
--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>
<details>
<details>
...
@@ -257,6 +280,24 @@ Please reduce the `batch_size` of `TrainReader` in config.
...
@@ -257,6 +280,24 @@ Please reduce the `batch_size` of `TrainReader` in config.
</details>
</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
## Cite PP-PiocDet
If you use PiocDet in your research, please cite our work by using the following BibTeX entry:
If you use PiocDet in your research, please cite our work by using the following BibTeX entry:
```
```
...
...
deploy/lite/README.md
浏览文件 @
20ce59dc
...
@@ -26,7 +26,7 @@ Paddle Lite是飞桨轻量化推理引擎,为手机、IOT端提供高效推理
...
@@ -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| 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 |
[
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
)
**注意**
: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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录