Commit Graph

3104 Commits

Author SHA1 Message Date
leiqing
0ea2d89ae3 Update README.md 2022-10-20 17:37:06 +08:00
leiqing
a6dc24ffe7 Update README.md 2022-10-20 17:32:47 +08:00
leiqing
5f32593c09 Update README.md 2022-10-20 17:31:48 +08:00
leiqing
16fc443511 Update README.md 2022-10-20 17:31:02 +08:00
leiqing
fb3acda292 Update and rename examples/vision/ocr/PP-OCRv3/xcx/README.md to examples/vision/ocr/PP-OCRv3/mini_program/README.md 2022-10-20 17:29:16 +08:00
Jack Zhou
dccb737d8d [Backend] Add collect shape for pp-trt backend (#372)
* Add collect_shape attr

* add EnableTunedTensorRtDynamicShape

* Add collect shape python api

* Fix quant model not set trt dynamic shape

* Add shape info print

* Fix shape print

* Use CopyFromCpu instead of ShareExternalData

* Add ENABLE_TRT_BACKEND macro

* Add shared data with
2022-10-20 17:02:56 +08:00
DefTruth
c28f4d6019 [Backend] Add override flag to lite backend (#402) 2022-10-20 17:01:56 +08:00
Double_V
0a22979c35 [Model] add Paddle.js web demo (#392)
* add application include paddle.js web demo and xcx

* cp PR #5

* add readme

* fix comments and link

* fix xcx readme

* fix Task 1

* fix bugs

* refine readme

* delete ocrxcx readme

* refine readme

* fix bugs

* delete old readme

* 200px to 300px

* revert 200px to 300px

Co-authored-by: Jason <jiangjiajun@baidu.com>
2022-10-20 17:01:38 +08:00
heliqi
587ffd4caf [Serving]add ernie-3.0 demo (#399)
serving add ernie-3.0 demo
2022-10-20 15:29:47 +08:00
DefTruth
f450917ff5 [Visualize] Support custom labels for visualization (#397)
* [lite] enable lite arm64-v8a fp16 option.

* Update VERSION_NUMBER

* [Vision] support custom labels for visualization

* [Visualize] add custom labels warning

* [Visualize] fix VisClassification bug
2022-10-20 12:14:02 +08:00
heliqi
c30df2021f [Serving]cpu images fix python core (#401)
serving cpu fix python core
2022-10-20 11:55:15 +08:00
yunyaoXYY
24317e1a14 [Doc] Rename PPOCRSystem to PPOCR and update comments. (#395)
* Imporve OCR Readme

* Improve OCR Readme

* Improve OCR Readme

* Improve OCR Readme

* Improve OCR Readme

* Add Initialize function to PP-OCR

* Add Initialize function to PP-OCR

* Add Initialize function to PP-OCR

* Make all the model links come from PaddleOCR

* Improve OCR readme

* Improve OCR readme

* Improve OCR readme

* Improve OCR readme

* 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 check for label file in postprocess of Rec model

* Add check for label file in postprocess of Rec model

* Add check for label file in postprocess of Rec model

* Add check for label file in postprocess of Rec model

* Add check for label file in postprocess of Rec model

* Add check for label file in postprocess of Rec model

* Add comments to create API docs

* Improve OCR comments

* Rename OCR and add comments

* Make sure previous python example works

* Make sure previous python example works

Co-authored-by: Jason <jiangjiajun@baidu.com>
2022-10-19 17:21:48 +08:00
huangjianhui
85e1c647f6 [Doc] Add comments for PPSeg && PPClas (#396)
* Add comment for PPSeg && PPClas

* Update main_page.md
2022-10-19 16:54:39 +08:00
Wang Xinyu
c8d6c8244e [Model] Yolov5/v5lite/v6/v7/v7end2end: CUDA preprocessing (#370)
* add yolo cuda preprocessing

* cmake build cuda src

* yolov5 support cuda preprocessing

* yolov5 cuda preprocessing configurable

* yolov5 update get mat data api

* yolov5 check cuda preprocess args

* refactor cuda function name

* yolo cuda preprocess padding value configurable

* yolov5 release cuda memory

* cuda preprocess pybind api update

* move use_cuda_preprocessing option to yolov5 model

* yolov5lite cuda preprocessing

* yolov6 cuda preprocessing

* yolov7 cuda preprocessing

* yolov7_e2e cuda preprocessing

* remove cuda preprocessing in runtime option

* refine log and cmake variable name

* fix model runtime ptr type

Co-authored-by: Jason <jiangjiajun@baidu.com>
2022-10-19 16:04:58 +08:00
Thomas Young
4b3e93223f [Serving]add an serving example of tts (#384)
* add tts example

* update example

Co-authored-by: Zeyu Chen <chenzeyu01@baidu.com>
2022-10-19 14:40:00 +08:00
Jason
60c0d082be Update README.md 2022-10-19 11:02:44 +08:00
Jason
167a26fac2 Update README.md 2022-10-19 11:01:45 +08:00
Jason
5239a46443 Update README.md 2022-10-19 10:58:31 +08:00
Jason
cae163889e Update README.md 2022-10-19 10:47:13 +08:00
Jason
529a5a93b6 Update PULL_REQUEST_TEMPLATE.md 2022-10-18 15:52:24 +08:00
yunyaoXYY
c1e104910a [Model] Add label file check in post-process of OCR Rec model. (#389)
* Imporve OCR Readme

* Improve OCR Readme

* Improve OCR Readme

* Improve OCR Readme

* Improve OCR Readme

* Add Initialize function to PP-OCR

* Add Initialize function to PP-OCR

* Add Initialize function to PP-OCR

* Make all the model links come from PaddleOCR

* Improve OCR readme

* Improve OCR readme

* Improve OCR readme

* Improve OCR readme

* Add check for label file in postprocess of Rec model

* Add check for label file in postprocess of Rec model

* Add check for label file in postprocess of Rec model

* Add check for label file in postprocess of Rec model

* Add check for label file in postprocess of Rec model

* Add check for label file in postprocess of Rec model

Co-authored-by: Jason <jiangjiajun@baidu.com>
2022-10-18 15:30:00 +08:00
Jack Zhou
173bbf5af4 [Backend] Integrate TensorRT in Paddle Inference backend by default (#381)
* Modify filter of trt

* Add Note for trt libs

* Use paddle inference with trt package

Co-authored-by: Jason <jiangjiajun@baidu.com>
2022-10-18 15:29:06 +08:00
DefTruth
2665933b7c [Backend] enable lite arm64-v8a fp16 option. (#380)
[lite] enable lite arm64-v8a fp16 option.
2022-10-18 10:01:36 +08:00
yunyaoXYY
ce309d84e8 Add readme for vision result. (#387)
* 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
2022-10-17 22:18:01 +08:00
huangjianhui
bd13471463 [Model] PP-Seg Update warning info (#386)
* Update ppseg resize image && valid backend according to input_shape

* Update ppseg model.cc

* Add warnning for dynamic shape input for Paddleseg model

* Update model.cc

Update FDWARNING When PaddleSeg model with dynamic shape input

* Update model.cc

* Update model.cc

Update warnings

* Update model.cc

Co-authored-by: Jason <jiangjiajun@baidu.com>
2022-10-17 21:49:06 +08:00
Jason
0254f1a4a2 Update PULL_REQUEST_TEMPLATE.md 2022-10-17 15:37:22 +08:00
Jason
3deafdbc77 Update PULL_REQUEST_TEMPLATE.md 2022-10-17 15:36:11 +08:00
WJJ1995
f5c94e5471 Support Poros Backend (#188)
* Add poros backend

* Add torch lib

* Add python3 lib

* set c++ 14 for poros

* fixed bugs

* fixed grammer bugs

* fixed grammer bugs

* fixed code bugs

* fixed code bugs

* fixed CreatePorosValue bug

* Add AtType2String for Log

* fixed trt_option

* fixed poros.cmake path

* fixed grammer bug

* fixed grammer bug

* fixed ambiguous reference

* fixed ambiguous reference

* fixed reference error

* fixed include files

* rm ENABLE_TRT_BACKEND in poros

* update CMakeLists.txt

* fixed CMakeLists.txt

* Add libtorch.so in CMakeLists.txt

* Fixed CMakeLists.txt

* Fixed CMakeLists.txt

* Fixed copy bug

* Fixed copy bug

* Fixed copy bug

* Fixed Cmake

* Fixed Cmake

* debug

* debug

* debug

* debug

* debug

* debug

* debug utils

* debug utils

* copy to cpu

* rm log info

* test share mem

* test share mem

* test share mem

* test multi outputs

* test multi outputs

* test multi outputs

* test multi outputs

* test multi outputs

* test multi outputs

* test multi outputs

* time cost

* time cost

* fixed bug

* time collect

* mem copy

* mem copy

* rm time log

* rm share mem

* fixed multi inputs bug

* add set_input_dtypes func

* add SetInputDtypes

* fixed bug

* fixed bug

* fixed prewarm data order

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* debug

* fixed bug

* Add compile func

* Add compile func

* Add compile func

* Add is_dynamic option

* Add is_dynamic option

* Add is_dynamic option

* Add is_dynamic option

* rm infer log

* add cuda11.6 poros lib

* fixed bug

* fixed bug

* fixed multi outputs

* fixed multi outputs

* fixed multi outputs

* fixed multi outputs

* fixed multi outputs

* fixed multi outputs

* fixed multi outputs

* fixed multi outputs

* fixed multi outputs

* fixed multi outputs

* fixed multi outputs

* rm logs

* test

* test

* test

* add test log

* add test log

* add test log

* add test log

* support cpu

* support cpu

* support cpu

* support cpu

* support member variable definition

* rm useless log

* fixed name

* resolve conflict

* resolve conflict

* resolve conflict

* fixed cmake

* add GetInputInfos&GetOutputInfos

* add GetInputInfos&GetOutputInfos

* fixed bug

* fixed runtime.py

* add compile func

* add np

* deal with comments

* rm to_inter func

* add property
2022-10-17 15:28:12 +08:00
WJJ1995
c8db2dd1ef Add YOLOv5Cls API (#382)
* add yolov5cls

* fixed bugs

* fixed bugs

* fixed preprocess bug

* add yolov5cls readme

* deal with comments

* Add YOLOv5Cls Note

* add yolov5cls test

* update yolov5cls api

* update yolov5cls api

Co-authored-by: Jason <jiangjiajun@baidu.com>
2022-10-17 11:31:00 +08:00
leiqing
063e82bb94 Update README_CN.md 2022-10-17 10:17:46 +08:00
leiqing
4d92f9d082 Update README_EN.md 2022-10-17 10:17:17 +08:00
DefTruth
9f71f7139e [docs] fixed dead link (#376) 2022-10-16 19:06:33 +08:00
Jason
9587416886 Update README.md 2022-10-16 16:18:50 +08:00
Jason
1276372860 Update README.md 2022-10-16 16:18:35 +08:00
Jason
d846a9bb50 Update README.md 2022-10-16 16:18:10 +08:00
Jason
c5a43ca454 Update README.md 2022-10-16 16:17:47 +08:00
Jason
fc43e8edfb Update README.md 2022-10-16 16:17:06 +08:00
Jason
b0c5ba4e0f Update README.md 2022-10-16 16:16:45 +08:00
DefTruth
e24c592f43 [osx] fixed mac osx arm64 and x86_64 0.3.0 rpath error (#374)
* Update paddle_inference.cmake

* Update process_libraries.py.in

* Update process_libraries.py.in

* Update paddle_inference.cmake

* Update CMakeLists.txt

* Update VERSION_NUMBER

* Update VERSION_NUMBER

* Update download_prebuilt_libraries.md

* Update gpu.md

* Update cpu.md

* Update download_prebuilt_libraries.md

* Update jetson.md

* Update tensorrt_tricks.md

* Update cpp.md

Co-authored-by: Jason <jiangjiajun@baidu.com>
2022-10-16 15:23:35 +08:00
Jason
24c8fdc27d Integrate FalconCV to boost image processing (#332)
* Rename GetCpuMat to GetOpenCVMat

* refine code structure
2022-10-16 14:49:57 +08:00
Jason
c7fbc0375c Update VERSION_NUMBER 2022-10-16 14:27:49 +08:00
jiangjiajun
515cd0ee8f Merge branch 'develop' of https://github.com/PaddlePaddle/FastDeploy into develop 2022-10-16 06:25:02 +00:00
jiangjiajun
7d9c47753f Fix dead link in notice 2022-10-16 06:24:47 +00:00
Jason
3ff562aa77 Bump up to version 0.3.0 (#371)
* Update VERSION_NUMBER

* Update paddle_inference.cmake

* Delete docs directory

* release new docs

* update version number

* add vision result doc

* update version

* fix dead link

* fix vision

* fix dead link

* Update README_EN.md

* Update README_EN.md

* Update README_EN.md

* Update README_EN.md

* Update README_EN.md

* Update README_CN.md

* Update README_EN.md

* Update README_CN.md

* Update README_EN.md

* Update README_CN.md

* Update README_EN.md

* Update README_EN.md

Co-authored-by: leiqing <54695910+leiqing1@users.noreply.github.com>
2022-10-15 22:01:27 +08:00
leiqing
bac17283ee update english docs (#364)
* Update README_EN.md

* Update README_CN.md

* Update README.md

* Update cpu.md

* Update gpu.md

* Update gpu.md

* Update cpu.md

* Update jetson.md

* Update and rename prebuilt.md to download_sdk.md

* Update README.md

* Update README.md

* Update and rename download_sdk.md to prebuilt_libraries.md

* Update README.md

* Rename prebuilt_libraries.md to download_prebuilt_libraries.md

* Update jetson.md

* Update cpu.md

* Update android.md

* Update README_EN.md

* Update cpu.md

* Update cpu.md

* Update cpu.md

* Update gpu.md

* Update jetson.md

* Update README_EN.md

* Update cpu.md

* Update README_EN.md

* Update download_prebuilt_libraries.md

* Update gpu.md

* Update cpu.md

* Update jetson.md

* Update jetson.md

* Update README.md

* Update README.md

* Update cpp.md

* Update cpp.md

* Update cpp.md

* Update cpp.md

* Update python.md

* Update cpp.md

* Update python.md

* Update tensorrt_tricks.md

* Update build_on_win_with_gui.md

* Update how_to_change_backend.md

* Update how_to_change_backend.md

* Update develop_a_new_model.md

* Update use_sdk_on_android.md

* Update use_sdk_on_windows.md

* Update use_sdk_on_windows.md

* Update use_sdk_on_windows.md

* Update cpp.md

Co-authored-by: Jason <jiangjiajun@baidu.com>
2022-10-14 19:59:57 +08:00
huangjianhui
70a6dfa642 Add warnning for dynamic shape input for Paddleseg model (#346)
* Update ppseg resize image && valid backend according to input_shape

* Update ppseg model.cc

* Add warnning for dynamic shape input for Paddleseg model

* Update model.cc

Update FDWARNING When PaddleSeg model with dynamic shape input

* Update model.cc

Co-authored-by: Jason <jiangjiajun@baidu.com>
2022-10-14 13:53:02 +08:00
yunyaoXYY
b0663209f6 Add Examples to deploy quantized models (#342)
* Add PaddleOCR Support

* Add PaddleOCR Support

* Add PaddleOCRv3 Support

* Add PaddleOCRv3 Support

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Add PaddleOCRv3 Support

* Add PaddleOCRv3 Supports

* Add PaddleOCRv3 Suport

* Fix Rec diff

* Remove useless functions

* Remove useless comments

* Add PaddleOCRv2 Support

* Add PaddleOCRv3 & PaddleOCRv2 Support

* remove useless parameters

* Add utils of sorting det boxes

* Fix code naming convention

* Fix code naming convention

* Fix code naming convention

* Fix bug in the Classify process

* Imporve OCR Readme

* Fix diff in Cls model

* Update Model Download Link in Readme

* Fix diff in PPOCRv2

* Improve OCR readme

* Imporve OCR readme

* Improve OCR readme

* Improve OCR readme

* Imporve OCR readme

* Improve OCR readme

* Fix conflict

* Add readme for OCRResult

* Improve OCR readme

* Add OCRResult readme

* Improve OCR readme

* Improve OCR readme

* Add Model Quantization Demo

* Fix Model Quantization Readme

* Fix Model Quantization Readme

* Add the function to do PTQ quantization

* Improve quant tools readme

* Improve quant tool readme

* Improve quant tool readme

* Add PaddleInference-GPU for OCR Rec model

* Add QAT method to fastdeploy-quantization tool

* Remove examples/slim for now

* Move configs folder

* Add Quantization Support for Classification Model

* Imporve ways of importing preprocess

* Upload YOLO Benchmark on readme

* Upload YOLO Benchmark on readme

* Upload YOLO Benchmark on readme

* Improve Quantization configs and readme

* Add support for multi-inputs model

* Add backends and params file for YOLOv7

* Add quantized model deployment support for YOLO series

* Fix YOLOv5 quantize readme

* Fix YOLO quantize readme

* Fix YOLO quantize readme

* Improve quantize YOLO readme

* Improve quantize YOLO readme

* Improve quantize YOLO readme

* Improve quantize YOLO readme

* Improve quantize YOLO readme

* Fix bug, change Fronted to ModelFormat

* Change Fronted to ModelFormat

* Add examples to deploy quantized paddleclas models

* Fix readme

* Add quantize Readme

* Add quantize Readme

* Add quantize Readme

* Modify readme of quantization tools

* Modify readme of quantization tools

* Improve quantization tools readme

* Improve quantization readme

* Improve PaddleClas quantized model deployment  readme

* Add PPYOLOE-l quantized deployment examples

* Improve quantization tools readme
2022-10-14 13:35:45 +08:00
DefTruth
aac879bf2d [docs] Update README_EN.md (#365)
Update README_EN.md
2022-10-14 09:34:11 +08:00
Jason
50aa4ca514 Delete publish_cpp_api_docs.yml 2022-10-14 09:23:00 +08:00
TrellixVulnTeam
54b822caa3 adding numeric_owner as a keyword argument (#367)
numeric_owner needs to be a keyword argument in Python 3.5+ according to the [docs](https://docs.python.org/3/library/tarfile.html)
2022-10-14 09:20:29 +08:00