Commit Graph

2258 Commits

Author SHA1 Message Date
guxukai
9cd00ad4c5 [Model] Refactoring code of YOLOv5Cls with new model type (#1237)
* Refactoring code of YOLOv5Cls with new model type

* fix reviewed problem

* Normalize&HWC2CHW -> NormalizeAndPermute

* remove cast()
2023-02-08 11:19:00 +08:00
yunyaoXYY
4c43b7db13 fix paddle lite compile 2023-02-08 03:18:48 +00:00
yunyaoXYY
c0a419a53b Merge branch 'develop' of https://github.com/PaddlePaddle/FastDeploy into huawei 2023-02-08 03:17:35 +00:00
Jason
c5b414a774 [Other] Unify initialize api for lite/trt backend (#1249)
* Unify initialize api for lite/trt backend

* Unify initialize api for lite/trt backend
2023-02-08 11:16:39 +08:00
Zheng-Bicheng
9712f250a5 [Bug Fix] Update picodet rknn export config (#1252)
更新picodet config
2023-02-08 11:15:23 +08:00
Zheng-Bicheng
000b8482dd [Bug Fix] Update ppyolov8 rknpu2 export config (#1256)
更新ppyolov8 模型转换config
2023-02-08 11:13:44 +08:00
felixhjh
bc3a7ce8fe Update paddleseg doc 2023-02-08 03:12:50 +00:00
Jason
c25aa71fa9 Revert "[Benchmark]Benchmark cpp for YOLOv5" (#1250)
Revert "[Benchmark]Benchmark cpp for YOLOv5 (#1224)"

This reverts commit c487359e33.
2023-02-07 22:14:48 +08:00
WJJ1995
c487359e33 [Benchmark]Benchmark cpp for YOLOv5 (#1224)
* add GPL lisence

* add GPL-3.0 lisence

* add GPL-3.0 lisence

* add GPL-3.0 lisence

* support yolov8

* add pybind for yolov8

* add yolov8 readme

* add cpp benchmark

* add cpu and gpu mem

* public part split

* add runtime mode

* fixed bugs

* add cpu_thread_nums

* deal with comments

* deal with comments

* deal with comments

* rm useless code

* add FASTDEPLOY_DECL

* add FASTDEPLOY_DECL
2023-02-07 21:26:04 +08:00
DefTruth
e90e1ff435 [Android] fix flycv android cmake bug (#1248) 2023-02-07 21:20:19 +08:00
Jason
84967e5910 Create common_faq.md 2023-02-07 18:00:30 +08:00
Jason
713afe7f1c [Other] Deprecate some option api and parameters (#1243)
* Optimize Poros backend

* fix error

* Add more pybind

* fix conflicts

* add some deprecate notices

* [Other] Deprecate some apis in RuntimeOption (#1240)

* Deprecate more options

* modify serving

* Update option.h

* fix tensorrt error

* Update option_pybind.cc

* Update option_pybind.cc

* Fix error in serving

* fix word spell error
2023-02-07 17:57:46 +08:00
felixhjh
576b2e3cb0 Update PaddleSeg example directory 2023-02-07 09:06:06 +00:00
DefTruth
a18cc0f94c [Benchmark] remove redundant args in benchmark_ppdet (#1238)
* [backend] support bechmark mode for runtime and backend

* [backend] support bechmark mode for runtime and backend

* [pybind11] add benchmark methods pybind

* [pybind11] add benchmark methods pybind

* [Other] Update build scripts

* [Other] Update cmake/summary.cmake

* [Other] update build scripts

* [Other] add ENABLE_BENCHMARK option -> setup.py

* optimize backend time recording

* optimize backend time recording

* optimize trt backend time record

* [backend] optimze backend_time recording for trt

* [benchmark] remove redundant logs

* fixed ov_backend confilct

* [benchmark] fixed paddle_backend conflicts

* [benchmark] fixed paddle_backend conflicts

* [benchmark] fixed paddle_backend conflicts

* [benchmark] remove use_gpu option from ort backend option

* [benchmark] update benchmark_ppdet.py

* [benchmark] update benchmark_ppcls.py

* fixed lite backend conflicts

* [Lite] fixed lite xpu

* add benchmark macro

* add RUNTIME_PROFILE_LOOP macros

* add comments for RUNTIME_PROFILE macros

* add comments for new apis

* add comments for new apis

* update benchmark_ppdet.py

* afixed bugs

* remove unused codes

* optimize RUNTIME_PROFILE_LOOP macros

* optimize RUNTIME_PROFILE_LOOP macros

* add comments for benchmark option and result

* add docs for benchmark namespace

* remove redundant args in benchmark_ppdet
2023-02-07 16:37:13 +08:00
guxukai
1c115bb237 [Model] Add facedet model: CenterFace (#1131)
* cpp example run success

* add landmarks

* fix reviewed problem

* add pybind

* add readme in examples

* fix reviewed problem

* new file:   tests/models/test_centerface.py

* fix reviewed problem 230202
2023-02-07 14:05:08 +08:00
Wang Xinyu
d3d914856d [CVCUDA] Utilize CV-CUDA batch processing function (#1223)
* norm and permute batch processing

* move cache to mat, batch processors

* get batched tensor logic, resize on cpu logic

* fix cpu compile error

* remove vector mat api

* nits

* add comments

* nits

* fix batch size

* move initial resize on cpu option to use_cuda api

* fix pybind

* processor manager pybind

* rename mat and matbatch

* move initial resize on cpu to ppcls preprocessor

---------

Co-authored-by: Jason <jiangjiajun@baidu.com>
2023-02-07 13:44:30 +08:00
Jason
7c9bf11c44 [Other] Optimize Poros backend (#1232)
* Optimize Poros backend

* fix error

* Add more pybind

* fix conflicts

* add some deprecate notices
2023-02-07 10:18:03 +08:00
yunyaoXYY
8f4ac33d93 Imporve compile of Ascend 2023-02-06 12:10:34 +00:00
yunyaoXYY
d5ea34b8f3 Imporve compile of Ascend 2023-02-06 11:41:20 +00:00
yunyaoXYY
214149224c Merge branch 'develop' of https://github.com/PaddlePaddle/FastDeploy into huawei 2023-02-06 06:49:04 +00:00
DefTruth
f73a538f61 [Backend] support bechmark mode for runtime and backend (#1201)
* [backend] support bechmark mode for runtime and backend

* [backend] support bechmark mode for runtime and backend

* [pybind11] add benchmark methods pybind

* [pybind11] add benchmark methods pybind

* [Other] Update build scripts

* [Other] Update cmake/summary.cmake

* [Other] update build scripts

* [Other] add ENABLE_BENCHMARK option -> setup.py

* optimize backend time recording

* optimize backend time recording

* optimize trt backend time record

* [backend] optimze backend_time recording for trt

* [benchmark] remove redundant logs

* fixed ov_backend confilct

* [benchmark] fixed paddle_backend conflicts

* [benchmark] fixed paddle_backend conflicts

* [benchmark] fixed paddle_backend conflicts

* [benchmark] remove use_gpu option from ort backend option

* [benchmark] update benchmark_ppdet.py

* [benchmark] update benchmark_ppcls.py

* fixed lite backend conflicts

* [Lite] fixed lite xpu

* add benchmark macro

* add RUNTIME_PROFILE_LOOP macros

* add comments for RUNTIME_PROFILE macros

* add comments for new apis

* add comments for new apis

* update benchmark_ppdet.py

* afixed bugs

* remove unused codes

* optimize RUNTIME_PROFILE_LOOP macros

* optimize RUNTIME_PROFILE_LOOP macros

* add comments for benchmark option and result

* add docs for benchmark namespace
2023-02-06 14:29:35 +08:00
CoolCola
42d14e7119 [Model] Support BlazeFace Model (#1172)
* fit yolov7face file path

* TODO:添加yolov7facePython接口Predict

* resolve yolov7face.py

* resolve yolov7face.py

* resolve yolov7face.py

* add yolov7face example readme file

* [Doc] fix yolov7face example readme file

* [Doc]fix yolov7face example readme file

* support BlazeFace

* add blazeface readme file

* fix review problem

* fix code style error

* fix review problem

* fix review problem

* fix head file problem

* fix review problem

* fix review problem

* fix readme file problem

* add English readme file

* fix English readme file
2023-02-06 14:24:12 +08:00
Hu Chuqi
e2de3f36d3 [Doc] Add English version of some documents (#1221)
* Update README_CN.md

* Create README.md

* Update README.md

* Create README_CN.md

* Update README.md

* Update README_CN.md

* Update README_CN.md

* Create README.md

* Update README.md

* Update README_CN.md

* Create README.md

* Update README.md

* Update README_CN.md

* Rename examples/vision/faceid/insightface/rknpu2/cpp/README.md to examples/vision/faceid/insightface/rknpu2/README_EN.md

* Rename README_CN.md to README.md

* Rename README.md to README_EN.md

* Rename README.md to README_CN.md

* Rename README_EN.md to README.md

* Create build.md

* Create environment.md

* Create issues.md

* Update build.md

* Update environment.md

* Update issues.md

* Update build.md

* Update environment.md

* Update issues.md
2023-02-06 11:11:00 +08:00
WJJ1995
cfc7af2d45 [Benchmark] avoid Result mem copy for cpp benchmark (#1203)
* avoid mem copy for cpp benchmark

* set CMAKE_BUILD_TYPE to Release
2023-02-06 10:19:44 +08:00
yunyaoXYY
870551f3f5 [Docs] Improve docs related to Ascend inference (#1227)
* Add Readme for vision results

* Add Readme for vision results

* Add Readme for vision results

* Add Readme for vision results

* Add Readme for vision results

* Add Readme for vision results

* Add Readme for vision results

* Add Readme for vision results

* Add Readme for vision results

* Add Readme for vision results

* Add comments to create API docs

* Improve OCR comments

* fix conflict

* Fix OCR Readme

* Fix PPOCR readme

* Fix PPOCR readme

* fix conflict

* Improve ascend readme

* Improve ascend readme

* Improve ascend readme

* Improve ascend readme
2023-02-04 17:03:03 +08:00
leiqing
522e96bce8 Update README_CN.md 2023-02-03 21:34:49 +08:00
leiqing
f44273d828 Update README_EN.md 2023-02-03 21:34:23 +08:00
Jason
5033000f41 [Other] Optimize OpenVINO backend (#1228)
* Optimize OpenVINO backend

* Update ov_backend.cc
2023-02-03 14:18:30 +08:00
huangjianhui
a172a9e293 Merge branch 'PaddlePaddle:develop' into develop 2023-02-03 12:09:06 +08:00
yunyaoXYY
c2c8d39f23 Merge branch 'develop' of github.com:yunyaoXYY/FastDeploy into huawei 2023-02-02 12:09:48 +00:00
yunyaoXYY
02f4f2a699 Merge branch 'develop' of https://github.com/PaddlePaddle/FastDeploy into new_dev 2023-02-02 12:06:15 +00:00
yunyaoXYY
ea9a74cee3 Fix Paddle Lite Ascend Lib 2023-02-02 12:05:07 +00:00
Jason
3c5824c862 [Other] Refine Paddle Lite backend (#1202)
* Refine Paddle Lite backend

* fix error

* Fix compile error

* Fix build error

* modify cpu configure

* fix error

* Fix comment

* Fix error
2023-02-02 17:40:03 +08:00
yunyaoXYY
c6a2370e0e Merge branch 'develop' of https://github.com/PaddlePaddle/FastDeploy into new_dev 2023-02-02 08:47:38 +00:00
Jason
56e4e56abc Update build.yml 2023-02-02 16:37:52 +08:00
leiqing
912ed8a497 Update README_EN.md 2023-02-02 16:29:50 +08:00
leiqing
f6b1b6eb4c Update README_CN.md 2023-02-02 16:29:27 +08:00
Jason
947df2f512 Update build.yml 2023-02-02 16:22:40 +08:00
Jason
7efe2dc1f9 Update build.yml 2023-02-02 16:15:47 +08:00
Jason
50df4b02e9 Update build.yml 2023-02-02 16:15:23 +08:00
huangjianhui
ba6d75f526 Delete redundant code (#1222)
Update paddle_backend.cc

Delete redundant code

Co-authored-by: Jason <jiangjiajun@baidu.com>
2023-02-02 15:44:52 +08:00
Zheng-Bicheng
afa3b886f3 [Bug Fix] fixed labels setting of YOLOv5 (#1213)
修复自己训练的yolov5无法指定label个数的错误
2023-02-02 15:28:38 +08:00
yunyaoXYY
b9b115a588 Merge branch 'develop' of https://github.com/PaddlePaddle/FastDeploy into huawei 2023-02-02 06:15:43 +00:00
Jason
a711f99c69 [Other] Optimize runtime module (#1211)
* modify ort option

* update code

* Unify backend
2023-02-02 13:10:40 +08:00
Jack Zhou
147cb2c32e [Model] Fix model format of uie (#1218)
Fix model format of uie
2023-02-02 10:34:27 +08:00
HinGwenWoong
126c1a222a [Improve Serving] Add OCR det bbox in output buffer which is very important for application (#1214)
* Add ocr det bbox output

* Add ocr det bbox output

* Add ocr det bbox output

* Add ocr det bbox output

* Add ocr det bbox

* Add ocr det bbox

* Add ocr det bbox

* Add ocr det bbox output
2023-02-02 09:57:52 +08:00
Zeref996
2f0b509004 refresh doc version release 1.0.3 (#1216) 2023-02-01 19:48:19 +08:00
Jason
b4e322af63 [Other] Optimize load model from memory function (#1205)
Optimize option for runtime
2023-02-01 15:50:38 +08:00
charl-u
29e93fa2dc [Doc]Check and modify broken links in documents (#1207)
* Update README_CN.md

之前的readme cn复制错了,导致存在死链

* Update README_CN.md

* Update README_CN.md

* Update README.md

* Update README.md

* Update README.md

* Update README_CN.md

* Update README_CN.md

* Update README.md

* Update README_CN.md

* Update README.md

* Update README_CN.md

* Update README.md

* Update RNN.md

* Update RNN_CN.md

* Update WebDemo.md

* Update WebDemo_CN.md

* Update install_rknn_toolkit2.md

* Update export.md

* Update use_cpp_sdk_on_android.md

* Update README.md

* Update README_Pу́сский_язы́к.md

* Update README_Pу́сский_язы́к.md

* Update README_Pу́сский_язы́к.md

* Update README_Pу́сский_язы́к.md

* Update README_हिन्दी.md

* Update README_日本語.md

* Update README_한국인.md

* Update README_日本語.md

* Update README_CN.md

* Update README_CN.md

* Update README.md

* Update README_CN.md

* Update README.md

* Update README.md

* Update README_CN.md

* Update README_CN.md

* Update README_CN.md

* Update README_CN.md
2023-02-01 15:49:23 +08:00
Jason
c36843d302 Update build.yml 2023-02-01 14:26:48 +08:00