Commit Graph

2258 Commits

Author SHA1 Message Date
tianshaoqing
f212f5c592 [Backend] update poros 2023-02-20 21:49:58 +08:00
huangjianhui
08aa209ea4 [Doc] Fix wrong word (#1380)
* Update README_CN.md

Wrong word

* Update README_EN.md

Wrong word
2023-02-20 19:44:51 +08:00
Jason
c3aee4f7f0 [Doc] Add cmake version notice in Jetson doc (#1379)
* Update jetson.md

* Update jetson.md
2023-02-20 18:52:50 +08:00
yunyaoXYY
7dc15e4a77 [Other] Remove useless OpenCV usage for PP-OCR. (#1375)
* Add Huawei Ascend NPU deploy through PaddleLite CANN

* Add NNAdapter interface for paddlelite

* Modify Huawei Ascend Cmake

* Update way for compiling Huawei Ascend NPU deployment

* remove UseLiteBackend in UseCANN

* Support compile python whlee

* Change names of nnadapter API

* Add nnadapter pybind and remove useless API

* Support Python deployment on Huawei Ascend NPU

* Fix links in readme

* Fix links in readme

* Update PPOCRv2/v3 examples

* Update auto compression configs

* Add neww quantization  support for paddleclas model

* Update quantized Yolov6s model download link

* Improve PPOCR comments

* Add models suppor for ascend

* Add PPOCR rec reszie for ascend

* fix conflict for ascend

* Rename CANN to Ascend

* Rename CANN to Ascend

* Improve ascend

* fix ascend bug

* improve ascend docs

* improve ascend docs

* improve ascend docs

* Add English doc for quantization

* Improve Ascend

* Improve Ascend

* Move ascend python demo

* Imporve ascend

* Fix PPOCR rec model bug

* Improve ascend

* Improve ascend

* Improve ascend

* Improve ascend

* Add  new paddleseg quantization support

* Add  new paddleseg quantization support

* Add  new paddleseg quantization support

* Add  new paddleseg quantization support

* Imporve ascend

* Imporve ascend

* Improve ascend

* acc eval script

* acc eval

* remove acc_eval from branch huawei

* Add detection and segmentation examples for Ascend deployment

* Add detection and segmentation examples for Ascend deployment

* Add Ascend model list

* Add ascend model list

* Add ascend model list

* Add ascend model list

* Add ascend model list

* Add ascend model list

* Add ascend model list

* Add PPOCR example for ascend deploy

* Imporve paddle lite compiliation

* Add FlyCV doc

* Add FlyCV doc

* Add FlyCV doc

* Imporve Ascend docs

* Imporve Ascend docs

* Improve PPOCR example

* Support Ascend deployment on X86 platform

* Improve Ascend docs

* Improve ascend

* Improve ascend

* Change Paddle Lite Ascend URL

* fix ascend docs

* fix ascend docs

* Fix Paddle Lite Ascend Lib

* Imporve compile of Ascend

* Imporve compile of Ascend

* fix paddle lite compile

* Remove useless opencv code for ocr
2023-02-20 18:32:49 +08:00
Zheng-Bicheng
9593c15ad8 [Doc]Rknn docs (#1376)
* 按照要求更新

* update rknn docs
2023-02-20 18:19:11 +08:00
Jason
dc5b4be7a9 [Other] Enable to hidden INFO/WARNING log informations (#1368)
* Enable to hidden INFO/WARNING log informations

* Fix build error

---------

Co-authored-by: root <root@bjyz-sys-gpu-kongming3.bjyz.baidu.com>
2023-02-20 17:24:12 +08:00
yunyaoXYY
cbe7066afe Merge branch 'develop' of https://github.com/PaddlePaddle/FastDeploy into new_dev 2023-02-20 09:02:12 +00:00
WJJ1995
b6658b8094 [Benchmark] Add ppocr && ppseg benchmark (#1344)
* 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

* fixed for windows

* mv rss to pss

* mv rss to pss

* Update utils.cc

* use thread to collect mem

* Add ResourceUsageMonitor

* rm useless code

* fixed bug

* fixed typo

* update ResourceUsageMonitor

* fixed bug

* fixed bug

* add note for ResourceUsageMonitor

* deal with comments

* add macros

* deal with comments

* deal with comments

* deal with comments

* re-lint

* rm pmap and use mem api

* rm pmap and use mem api

* add mem api

* Add PrintBenchmarkInfo func

* Add PrintBenchmarkInfo func

* Add PrintBenchmarkInfo func

* deal with comments

* fixed enable_paddle_to_trt

* add log for paddle_trt

* support ppcls benchmark

* use new trt option api

* update benchmark info

* simplify benchmark.cc

* simplify benchmark.cc

* deal with comments

* Add ppseg && ppocr benchmark

* add OCR rec img

* add ocr benchmark

* fixed trt shape

* add trt shape

* resolve conflict

* add ENABLE_BENCHMARK define

---------

Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
2023-02-20 15:59:27 +08:00
Jack Zhou
1b499f3de2 [Serving] Update serving build script (#1371)
Update serving build script
2023-02-20 15:30:49 +08:00
yunyaoXYY
b2e13db58f Merge branch 'develop' of https://github.com/PaddlePaddle/FastDeploy into new_dev 2023-02-20 06:50:50 +00:00
yunyaoXYY
0b5a8aeb23 Remove useless opencv code for ocr 2023-02-20 06:50:35 +00:00
DefTruth
95f809c1ff [Bug Fix] fix build error while enable flycv on linux x64 (#1365)
* [Bug Fix] fix build error while enable flycv on linux x64

* [Bug Fix] fix build error while enable flycv on linux x64

* move WITH_FLYCV_STATIC option -> flycv.cmake
2023-02-20 13:52:31 +08:00
yunyaoXYY
c8f46a2c51 Merge branch 'develop' of https://github.com/PaddlePaddle/FastDeploy into develop 2023-02-20 03:00:35 +00: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
heliqi
8f21d55e5c [Serving]support encryt (#1349)
* serving support encryt

* Update fastdeploy_runtime.cc
2023-02-17 15:29:57 +08:00
chenjian
6c13ab1f7e [Doc] add docs for c and c# api (#1308)
* add docs for result api

* fix format
2023-02-17 15:01:02 +08:00
Jason
98054aa1f8 Delete FastDeployCSharp.cmake 2023-02-17 14:49:30 +08:00
jiangjiajun
39545dcfc6 Merge branch 'develop' of https://github.com/PaddlePaddle/FastDeploy into develop 2023-02-17 06:43:12 +00:00
jiangjiajun
6bc3d8d0c9 Fix error in vad example 2023-02-17 06:42:56 +00:00
Jason
db471c3466 [Other] Optimize poros backend (#1331)
* Optimize poros backend

* Fix pybind error

---------

Co-authored-by: root <root@bjyz-sys-gpu-kongming3.bjyz.baidu.com>
2023-02-17 14:32:35 +08:00
yunyaoXYY
01fa072f64 Merge branch 'develop' of github.com:yunyaoXYY/FastDeploy into new_dev 2023-02-17 06:12:33 +00:00
yunyaoXYY
43854171c8 Merge branch 'develop' of https://github.com/PaddlePaddle/FastDeploy into new_dev 2023-02-17 06:08:26 +00:00
Jack Zhou
ee41944f47 [Serving] Update trt backend to 8.5.2.2 (#1326)
* update trt backend

* Add trt version args

* Add cuda cudnn version
2023-02-17 14:05:04 +08:00
chenjian
ea548ab3db [C#] Supplement model and result api for c sharp (#1322)
* add c sharp api for fastdeploy

* update accroding to c apis

* add cmakelist for c sharp api

* add cmakelists for c sharp

* fix cmakelists

* fix cmakelists

* add c sharp api for fastdeploy

* add ppyoloe demo

* add ppyoloe demo

* modify demo namespace code

* add readme

* fix format

* format code

* fix doc

* add model api

* add batch_predict and string result for c sharp

* add ppdet models

* update api

* fix
2023-02-17 11:03:52 +08:00
chenjian
db9739a76e [C API] Supplement C api for models (#1317)
* 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

* fix

* refine predict api
2023-02-17 11:03:12 +08:00
yunyaoXYY
c38b7d4377 [Backend] Support onnxruntime DirectML inference. (#1304)
* Fix links in readme

* Fix links in readme

* Update PPOCRv2/v3 examples

* Update auto compression configs

* Add neww quantization  support for paddleclas model

* Update quantized Yolov6s model download link

* Improve PPOCR comments

* Add English doc for quantization

* Fix PPOCR rec model bug

* Add  new paddleseg quantization support

* Add  new paddleseg quantization support

* Add  new paddleseg quantization support

* Add  new paddleseg quantization support

* Add Ascend model list

* Add ascend model list

* Add ascend model list

* Add ascend model list

* Add ascend model list

* Add ascend model list

* Add ascend model list

* Support DirectML in onnxruntime

* Support onnxruntime DirectML

* Support onnxruntime DirectML

* Support onnxruntime DirectML

* Support OnnxRuntime DirectML

* Support OnnxRuntime DirectML

* Support OnnxRuntime DirectML

* Support OnnxRuntime DirectML

* Support OnnxRuntime DirectML

* Support OnnxRuntime DirectML

* Support OnnxRuntime DirectML

* Support OnnxRuntime DirectML

* Remove DirectML vision model example

* Imporve OnnxRuntime DirectML

* Imporve OnnxRuntime DirectML

* fix opencv cmake in Windows

* recheck codestyle
2023-02-17 10:53:51 +08:00
Wang Xinyu
efa46563f3 [nvJPEG] Integrate nvJPEG decoder (#1288)
* nvjpeg cmake

* add common decoder, nvjpeg decoder and add image name predict api

* ppclas support nvjpeg decoder

* remove useless comments

* image decoder support opencv

* nvjpeg decode fallback to opencv

* fdtensor add nbytes_allocated

* single image decode api

* fix bug

* add pybind

* ignore nvjpeg on jetson

* fix cmake in

* predict on fdmat

* remove image names predict api, add image decoder tutorial

* Update __init__.py

* fix pybind
2023-02-17 10:27:05 +08:00
Zheng-Bicheng
e3a7ab4c14 Merge pull request #1339 from Zheng-Bicheng/tiny_pose 2023-02-16 19:47:38 +08:00
Zheng-Bicheng
b829a4e23c Merge branch 'develop' into tiny_pose 2023-02-16 17:35:02 +08:00
DefTruth
ee85a3cade [Benchmark] Add precision evaluation api from benchmark (#1310)
* [Benchmark] Init benchmark precision api

* [Benchmark] Init benchmark precision api

* [Benchmark] Add benchmark precision api

* [Benchmark] Calculate the statis of diff

* [Benchmark] Calculate the statis of diff

* [Benchmark] Calculate the statis of diff

* [Benchmark] Calculate the statis of diff

* [Benchmark] Calculate the statis of diff

* [Benchmark] Add SplitDataLine utils

* [Benchmark] Add LexSortByXY func

* [Benchmark] Add LexSortByXY func

* [Benchmark] Add LexSortDetectionResultByXY func

* [Benchmark] Add LexSortDetectionResultByXY func

* [Benchmark] Add tensor diff presicion test

* [Benchmark] fixed conflicts

* [Benchmark] fixed calc tensor diff

* fixed build bugs

* fixed ci bugs when WITH_TESTING=ON
2023-02-16 17:16:14 +08:00
Zheng-Bicheng
5893f2dceb Merge remote-tracking branch 'origin/tiny_pose' into tiny_pose 2023-02-16 10:38:19 +08:00
Zheng-Bicheng
2b7c23683a 按照要求更新 2023-02-16 10:38:10 +08:00
Zheng-Bicheng
fade3f4fcf Merge branch 'develop' into tiny_pose 2023-02-16 09:29:38 +08:00
Zheng-Bicheng
8faca05280 更新pybind 2023-02-15 21:03:15 +08:00
Zheng-Bicheng
8c42b708f6 删除无用代码,更新python脚本 2023-02-15 21:01:06 +08:00
Zheng-Bicheng
2b1631b563 更新pptinypose模型 2023-02-15 20:55:26 +08:00
Zheng-Bicheng
53333c5db6 更新example 和模型转换代码 2023-02-15 20:37:42 +08:00
Zheng-Bicheng
f900199c02 更新example 和模型转换代码 2023-02-15 19:53:48 +08:00
Zheng-Bicheng
4ccfbead16 更新Preprocess代码 2023-02-15 19:25:44 +08:00
Zheng-Bicheng
bdfb7b0008 [Doc] Update RKNPU2 Docs (#1337)
更新PPHumanSeg Example代码
2023-02-15 19:18:34 +08:00
leiqing
5f667b5a0c Update README_CN.md 2023-02-15 18:52:00 +08:00
Zheng-Bicheng
c948b72e6c 更新PPHumanSeg Example代码 2023-02-15 18:08:02 +08:00
Zheng-Bicheng
a79d17b8c6 [Bug Fix] Update pphumanseg rknpu2 example (#1255)
更新pphumanseg example格式
2023-02-15 17:59:36 +08:00
Zheng-Bicheng
32af870711 [Doc] Update RKYOLO Docs (#1330)
* 更新docs

* 修正docs错误

* 更新docs

* 更新python example脚本和ppyoloe转换脚本

* 更新PaddleDetection文档

* 更新文档

* 更新文档

* 更新文档

* 更新文档

* 更新文档

* 更新RKYOLO系列模型文档

* 更新PaddleDetection python example
2023-02-15 17:55:58 +08:00
WJJ1995
da94fc46cf [Benchmark] Support PaddleClas cpp benchmark (#1324)
* 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

* fixed for windows

* mv rss to pss

* mv rss to pss

* Update utils.cc

* use thread to collect mem

* Add ResourceUsageMonitor

* rm useless code

* fixed bug

* fixed typo

* update ResourceUsageMonitor

* fixed bug

* fixed bug

* add note for ResourceUsageMonitor

* deal with comments

* add macros

* deal with comments

* deal with comments

* deal with comments

* re-lint

* rm pmap and use mem api

* rm pmap and use mem api

* add mem api

* Add PrintBenchmarkInfo func

* Add PrintBenchmarkInfo func

* Add PrintBenchmarkInfo func

* deal with comments

* fixed enable_paddle_to_trt

* add log for paddle_trt

* support ppcls benchmark

* use new trt option api

* update benchmark info

* simplify benchmark.cc

* simplify benchmark.cc

* deal with comments

---------

Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
2023-02-15 17:25:49 +08:00
huangjianhui
6a2cfde8d1 Merge pull request #1245 from felixhjh/doc
[Doc] Update PaddleSeg example directory
2023-02-15 16:05:10 +08:00
felixhjh
3835d06654 Save png format image in matting example to support transparent background 2023-02-15 07:33:45 +00:00
felixhjh
dbf446af85 Merge remote-tracking branch 'upstream/develop' into doc 2023-02-15 07:21:05 +00:00