Commit Graph

652 Commits

Author SHA1 Message Date
thunder95
51be3fea78 [Hackthon_4th 177] Support PP-YOLOE-R with BM1684 (#1809)
* first draft

* add robx iou

* add benchmark for ppyoloe_r

* remove trash code

* fix bugs

* add pybind nms rotated option

* add missing head file

* fix bug

* fix bug2

* fix shape bug

---------

Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
2023-04-21 10:48:05 +08:00
yeliang2258
a509dd8ec1 [Model] Add Paddle3D smoke model (#1766)
* add smoke model

* add 3d vis

* update code

* update doc

* mv paddle3d from detection to perception

* update result for velocity

* update code for CI

* add set input data for TRT backend

* add serving support for smoke model

* update code

* update code

* update code

---------

Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
2023-04-14 16:30:56 +08:00
yeliang2258
e2f5a9ce66 [Model] Add picodet for RV1126 and A311D (#1549)
* add infer for picodet

* update code

* update lite lib

---------

Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
2023-04-10 22:04:45 +08:00
hjyp
cc4bbf2163 [PaddlePaddle Hackathon4 No.185] Add PaddleDetection Models Deployment Java Examples (#1782)
* add java examples

* fix detail

* fix pre-config

---------

Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
2023-04-10 21:23:44 +08:00
Zheng-Bicheng
109d1046ae [Model] add function for setting anchor rknpu2 (#1728)
* add function for setting anchor rknpu2
add more demo for rknpu2
fixed md error

* Update config.h

---------

Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
2023-04-04 20:33:06 +08:00
wanziyu
95c977c638 [PaddlePaddle Hackathon4 No.184] Add PaddleDetection Models Deployment Rust Examples (#1717)
* [PaddlePaddle Hackathon4 No.186] Add PaddleDetection Models Deployment Go Examples

Signed-off-by: wanziyu <ziyuwan@zju.edu.cn>

* Fix YOLOv8 Deployment Go Example

Signed-off-by: wanziyu <ziyuwan@zju.edu.cn>

* [Hackathon4 No.184] Add PaddleDetection Models Deployment Rust Examples

Signed-off-by: wanziyu <ziyuwan@zju.edu.cn>

* Add main and cargo files in examples

Signed-off-by: wanziyu <ziyuwan@zju.edu.cn>

---------

Signed-off-by: wanziyu <ziyuwan@zju.edu.cn>
Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
2023-04-03 11:19:28 +08:00
Yi-sir
9e20dab0d6 [Example] Merge Download Paddle Model, Paddle->ONNX->MLIR->BModel (#1643)
* fix infer.py and README

* [Example] Merge Download Paddle Model, Paddle->Onnx->Mlir->Bmodel and
inference into infer.py. Modify README.md

* modify pp_liteseg sophgo infer.py and README.md

* fix PPOCR,PPYOLOE,PICODET,LITESEG sophgo infer.py and README.md

* fix memory overflow problem while inferring with sophgo backend

* fix memory overflow problem while inferring with sophgo backend

---------

Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
Co-authored-by: xuyizhou <yizhou.xu@sophgo.com>
2023-03-31 15:08:01 +08:00
wanziyu
b1d2903b93 [PaddlePaddle Hackathon4 No.186] Add PaddleDetection Models Deployment Go Examples (#1648)
* [PaddlePaddle Hackathon4 No.186] Add PaddleDetection Models Deployment Go Examples

Signed-off-by: wanziyu <ziyuwan@zju.edu.cn>

* Fix YOLOv8 Deployment Go Example

Signed-off-by: wanziyu <ziyuwan@zju.edu.cn>

---------

Signed-off-by: wanziyu <ziyuwan@zju.edu.cn>
Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
2023-03-28 20:30:03 +08:00
wangguoya
c61a07712e fix bug for kunlunxin run sd demo for uing fp16 (#1680)
* modify sd infer.py for using paddle_kunlunxin_fp16

* Update infer.py

* [fix bug] fix bug sd in demo infer.py for kunlunxin using fp16
2023-03-27 14:04:21 +08:00
yunyaoXYY
f36f9324de [Docs] Pick PPOCR fastdeploy docs from PaddleOCR (#1534)
* Pick PPOCR fastdeploy docs from PaddleOCR

* improve ppocr

* improve readme

* remove old PP-OCRv2 and PP-OCRv3 folfers

* rename kunlun to kunlunxin

* improve readme

* improve readme

* improve readme

---------

Co-authored-by: Jason <jiangjiajun@baidu.com>
Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
2023-03-23 13:11:19 +08:00
yunyaoXYY
c91e99b5f5 [Docs] Pick paddleclas fastdeploy docs from PaddleClas (#1654)
* Adjust folders structures in paddleclas

* remove useless files

* Update sophgo

* improve readme
2023-03-23 13:06:09 +08:00
DefTruth
af18e597d0 [Docs] rename ppseg kunlun docs -> kunlunxin (#1662)
* [Docs] rename ppseg kunlun -> kunlunxin

* [Docs] rename ppseg fastdeploy kunlun docs -> kunlunxin
2023-03-20 19:46:18 +08:00
DefTruth
5b143219ce [Docs] Pick seg fastdeploy docs from PaddleSeg (#1482)
* [Docs] Pick seg fastdeploy docs from PaddleSeg

* [Docs] update seg docs

* [Docs] Add c&csharp examples for seg

* [Docs] Add c&csharp examples for seg

* [Doc] Update paddleseg README.md

* Update README.md
2023-03-17 11:22:46 +08:00
Jason
6343b0db47 [Build] Support build with source code of Paddle2ONNX (#1559)
* Add notes for tensors

* Optimize some apis

* move some warnings

* Support build with Paddle2ONNX

* Add protobuf support

* Fix compile on mac

* add clearn package script

* Add paddle2onnx code

* remove submodule

* Add onnx ocde

* remove softlink

* add onnx code

* fix error

* Add cmake file

* fix patchelf

* update paddle2onnx

* Delete .gitmodules

---------

Co-authored-by: PaddleCI <paddle_ci@example.com>
Co-authored-by: pangyoki <pangyoki@126.com>
Co-authored-by: jiangjiajun <jiangjiajun@baidu.lcom>
2023-03-17 10:03:22 +08:00
Zheng-Bicheng
d14db2629d [Example] Move SOLOv2 jetson example -> cpp (#1600)
* move solov2

* move solov2

---------

Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
2023-03-16 22:04:50 +08:00
wangguoya
bf6caeb2ce modify sd demo infer.py for using paddle_kunlunxin_fp16 (#1612)
* modify sd infer.py for using paddle_kunlunxin_fp16

* Update infer.py
2023-03-16 19:48:15 +08:00
Yi-sir
66275bcbfa [Example] Merge Download Paddle Model, Paddle->ONNX, ONNX -> MLIR, MLIR -> BModel into infer.py (#1622)
fix infer.py and README

Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
2023-03-16 19:47:50 +08:00
linyangshi
21b1cb8742 [Benchmark] Add more PaddleClas models to benchmark (#1629)
* 添加paddleclas模型

* 更新README_CN

* 更新README_CN

* 更新README

* update get_model.sh

* update get_models.sh

---------

Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
2023-03-16 10:45:54 +08:00
Jason
78cc41396a Create README.md 2023-03-15 10:30:53 +08:00
Jason
69c6508b4b Delete examples/multimodal/stable_diffusion/swift_coreml_diffusers directory 2023-03-15 10:30:27 +08:00
Jason
c97d44ad8e Create README.md 2023-03-15 10:27:57 +08:00
Jason
74bf90f113 Create README.md 2023-03-15 10:27:27 +08:00
jiangjiajun
589963ea5e remove submodules 2023-03-15 02:24:30 +00:00
Zheng-Bicheng
41ee93c75e [Doc] Update RKNPU2 Docs (#1608)
* update rknpu2 docs

* update rknpu2 docs
2023-03-14 17:49:12 +08:00
CoolCola
745d0018fa [DOC]fix death url (#1598)
fix death url
2023-03-14 10:22:52 +08:00
Hu Chuqi
4ae772c2c7 [Doc] Update readme files in English version (#1592)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2023-03-13 20:23:51 +08:00
lishicheng1996
fbaf80e266 [bug fix] delete another long-path file(xcuserdata) (#1594)
delete long-path file(xcuserdata)
2023-03-13 19:29:05 +08:00
lishicheng1996
15485a1952 [buf fix] delete long name files in ml-stable-diffusion (#1590)
delete long name files in ml-stable-diffusion
2023-03-13 16:21:19 +08:00
Edward Zhou
f2821b6241 修正cpp文件名与CMakeLists.txt中的配置一致 (#1579)
* 修正第93行末尾漏了';'

* 修正cpp文件名与CMakeFiles.txt中的配置一致
2023-03-13 13:42:12 +08:00
Zheng-Bicheng
32f0d2e350 [Model] update PPDet pybind and docs (#1550)
update pybind and docs
2023-03-09 16:22:31 +08:00
chenjian
091e039991 [C API] Add create api for c results (#1547)
add create api for c results
2023-03-09 11:11:47 +08:00
Jason
6be2c0367b [Example] Update runtime examples (#1542)
* Add notes for tensors

* Optimize some apis

* move some warnings
2023-03-08 16:56:04 +08:00
Zheng-Bicheng
0687d3b0ad [Model] Add Solov2 For PaddleDetection (#1435)
* update solov2

* Repair note

* update solov2 postprocess

* update

* update solov2

* update solov2

* fixed bug

* fixed bug

* update solov2

* update solov2

* fix build android bug

* update docs

* update docs

* update docs

* update

* update

* update arch and docs

* update

* update

* update solov2 python

---------

Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
2023-03-08 10:01:32 +08:00
Zheng-Bicheng
c2d377a1d6 [Doc] update rknn and ppocr example docs (#1538)
* update docs

* update
2023-03-07 18:54:27 +08:00
leiqing
190d254a95 Update README_CN.md 2023-03-07 13:58:22 +08:00
leiqing
60937cebe9 Update README.md 2023-03-07 13:57:37 +08:00
lishicheng1996
dfe027dbbd [stable-diffusion] paddle swift+coreml demo (#1494)
* paddle sd

* renew ml-stable-diffusion submodule

* stable diffusion swift demo
2023-03-06 13:34:29 +08:00
yunyaoXYY
e796658e54 [Bug Fix] Fix OCR Serving bug. (#1516)
fix ocr_serving bug
2023-03-06 13:32:05 +08:00
Edward Zhou
81c2c75c5c 修正 [examples/vision/segmentation/paddleseg/cpu-gpu/cpp/infer.cc] 第93行末尾漏了';' (#1507)
修正第93行末尾漏了';'
2023-03-04 11:24:56 +08:00
chenjian
c8bcada1a2 [Doc] Add docs for ppocr ppseg examples (#1429)
* add docs for examples

* add english doc

* fix

* fix docs
2023-02-28 20:13:01 +08:00
chenjian
f80d929b03 [C#] add c sharp apis for ppocr (#1405)
* add c sharp apis for ppocr

* add example

* fix accroding to test

* add ocr models

* fix

* update

* update
2023-02-28 19:49:33 +08:00
chenjian
a6c1d67584 [C#] Add c sharp apis for yolo serial models (#1424)
* add c sharp apis for yolo serial models

* fix

* fix

---------

Co-authored-by: heliqi <1101791222@qq.com>
2023-02-28 17:50:36 +08:00
chenjian
586684daa9 [C API] Add c api for yolo serial models (#1418)
* add c api for yolo serial models

* fix bug

* update batch predict func

* fix

* update code

* split code
2023-02-28 17:49:33 +08:00
chenjian
266ae046f2 [C API] Refactor code structure (#1449)
* refactor code

* move files

* fix doc

* fix
2023-02-27 20:19:13 +08:00
chenjian
48f776b9db [C#] Add c# api for ppseg models (#1398)
* add c# api for ppseg

* add example

* fix according to test

* update interface

* fix destroy funcs
2023-02-27 20:16:17 +08:00
Zheng-Bicheng
8c3ccc2cc2 [Hackathon 182 Model] Update PPOCRV3 For RKNPU2 (#1403)
* update ppocrv3 for rknpu2

* add config

* add config

* detele unuseful

* update useful results

* Repair note

* Repair note

* fixed bugs

* update
2023-02-27 15:01:17 +08:00
chenjian
b6e8773b2f [C API] add ppseg c api (#1384)
* add ppseg c api

* fix bug

* fix interface
2023-02-27 11:07:56 +08:00
chenjian
9b482b72fb fix demo code (#1355) 2023-02-17 16:03:37 +08:00
chenjian
859896cd2c [Other] add code and docs for ppclas examples (#1312)
* add code and docs for ppclas examples

* fix doc

* add code for printing results

* add ppcls demo and docs

* modify example according to refined c api

* modify example code and docs for ppcls and ppdet

* modify example code and docs for ppcls and ppdet

* update ppdet demo

* fix demo codes

* fix doc

* release resource when failed

* fix

* fix name

* fix name
2023-02-17 15:43:21 +08:00
chenjian
7c4e0d7ba0 [C API] Add c apis for ppocr models (#1351)
* add batch_predict and initialized api for c

* add batch_predict and result str in C api

* modify visualization function

* add micro to add models batchify

* refactor and add models for ppdet others

* add base define

* add results api

* add headers

* add ppocr models

* add codes for implementing api

* add code

* add ppocr apis

* fix code

* add codes

* fix codes

* add demo
2023-02-17 15:43:12 +08:00