Wang Xinyu
a36f5d3396
[Backend] cuda normalize and permute, cuda concat, optimized ppcls, ppdet & ppseg ( #546 )
...
* cuda normalize and permute, cuda concat
* add use cuda option for preprocessor
* ppyoloe use cuda normalize
* ppseg use cuda normalize
* add proclib cuda in processor base
* ppcls add use cuda preprocess api
* ppcls preprocessor set gpu id
* fix pybind
* refine ppcls preprocessing use gpu logic
* fdtensor device id is -1 by default
* refine assert message
Co-authored-by: heliqi <1101791222@qq.com >
2022-11-14 18:44:00 +08:00
yunyaoXYY
8dec2115d5
[Quantization] Remove extra requirements for fd-auto-compress package ( #582 )
...
* 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
* Improve Quantize Readme
* Fix conflicts
* Fix conflicts
* improve readme
* Improve quantization tools and readme
* Improve quantization tools and readme
* Add quantized deployment examples for PaddleSeg model
* Fix cpp readme
* Fix memory leak of reader_wrapper function
* Fix model file name in PaddleClas quantization examples
* Update Runtime and E2E benchmark
* Update Runtime and E2E benchmark
* Rename quantization tools to auto compression tools
* Remove PPYOLOE data when deployed on MKLDNN
* Fix readme
* Support PPYOLOE with OR without NMS and update readme
* Update Readme
* Update configs and readme
* Update configs and readme
* Add Paddle-TensorRT backend in quantized model deploy examples
* Support PPYOLOE+ series
* Add reused_input_tensors for PPYOLOE
* Improve fastdeploy tools usage
* improve fastdeploy tool
* Improve fastdeploy auto compression tool
* Improve fastdeploy auto compression tool
* Improve fastdeploy auto compression tool
* Improve fastdeploy auto compression tool
* Improve fastdeploy auto compression tool
* remove modify
* Improve fastdeploy auto compression tool
* Improve fastdeploy auto compression tool
* Improve fastdeploy auto compression tool
* Improve fastdeploy auto compression tool
* Improve fastdeploy auto compression tool
* Remove extra requirements for fd-auto-compress package
2022-11-14 16:39:31 +08:00
huangjianhui
f42218a88e
[Bug Fix]Add check return code function ( #581 )
...
* Fix release_task cpp_run.sh
Author: felixhjh <852142024@qq.com >
Date: Thu Nov 10 07:26:48 2022 +0000
* Add option for infer_ppyoloe.cc
author: felixhjh <852142024@qq.com >
* Fix bug in release task scripts
* Add error check function
* Format code
Co-authored-by: root <root@bjyz-sys-gpu-kongming2.bjyz.baidu.com >
2022-11-14 16:02:12 +08:00
Jack Zhou
63b07f2986
[Bug Fix]Remove profile ( #579 )
...
remove profile
2022-11-14 15:49:39 +08:00
yunyaoXYY
efa634ebf8
[Quantization] Change the usage of FastDeploy auto compression tool. ( #576 )
...
* 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
* Improve Quantize Readme
* Fix conflicts
* Fix conflicts
* improve readme
* Improve quantization tools and readme
* Improve quantization tools and readme
* Add quantized deployment examples for PaddleSeg model
* Fix cpp readme
* Fix memory leak of reader_wrapper function
* Fix model file name in PaddleClas quantization examples
* Update Runtime and E2E benchmark
* Update Runtime and E2E benchmark
* Rename quantization tools to auto compression tools
* Remove PPYOLOE data when deployed on MKLDNN
* Fix readme
* Support PPYOLOE with OR without NMS and update readme
* Update Readme
* Update configs and readme
* Update configs and readme
* Add Paddle-TensorRT backend in quantized model deploy examples
* Support PPYOLOE+ series
* Add reused_input_tensors for PPYOLOE
* Improve fastdeploy tools usage
* improve fastdeploy tool
* Improve fastdeploy auto compression tool
* Improve fastdeploy auto compression tool
* Improve fastdeploy auto compression tool
* Improve fastdeploy auto compression tool
* Improve fastdeploy auto compression tool
* remove modify
* Improve fastdeploy auto compression tool
* Improve fastdeploy auto compression tool
* Improve fastdeploy auto compression tool
* Improve fastdeploy auto compression tool
* Improve fastdeploy auto compression tool
2022-11-14 15:16:14 +08:00
Zeyu Chen
b6e4c39ed0
Update README_EN.md
2022-11-14 13:32:34 +08:00
DefTruth
8c6b1935c2
[Android] fixed OcrMainActivity setting errors ( #578 )
...
* [FlyCV] Add global SetProcLibCpuNumThreads method
* [Android] Support segmentation and facedet in Android
* [Android] add JNI instance check to j_runtime_option_obj
* [Model] fixed ppseg flycv resize error
* [FlyCV] fix FlyCV resize flags
* [cmake] remove un-need lite compile option
* [Android] add PaddleSegModel JNI and fix some bugs
* [Android] bind PaddleSegModel via JNI
* [Android] bind VisSegmentation via JNI
* [Android] bind YOLOv5Face and SCRFD via JNI
* [Android] fix NewJavaFaceDetectionResultFromCxx error
* [Android] remove un-need option in Java RuntimeOption
* [Android] fixed OcrMainActivity setting errors
2022-11-14 12:50:15 +08:00
DefTruth
f1ebcf7a13
[Android] remove unnecessary option in Java RuntimeOption ( #577 )
...
* [FlyCV] Add global SetProcLibCpuNumThreads method
* [Android] Support segmentation and facedet in Android
* [Android] add JNI instance check to j_runtime_option_obj
* [Model] fixed ppseg flycv resize error
* [FlyCV] fix FlyCV resize flags
* [cmake] remove un-need lite compile option
* [Android] add PaddleSegModel JNI and fix some bugs
* [Android] bind PaddleSegModel via JNI
* [Android] bind VisSegmentation via JNI
* [Android] bind YOLOv5Face and SCRFD via JNI
* [Android] fix NewJavaFaceDetectionResultFromCxx error
* [Android] remove un-need option in Java RuntimeOption
2022-11-14 10:48:02 +08:00
Jason
bd1938a08f
fix compile on mac
2022-11-14 10:10:47 +08:00
Jason
51818ed825
[Other] Optimize backend selection strategy ( #574 )
...
* Optimize backend selection strategy
* remove debug code
* Update runtime.cc
* Update picodet.cc
* Update yolox.cc
* fix ci
2022-11-13 20:15:20 +08:00
leiqing
eff33d0e87
Update README_CN.md
2022-11-13 19:16:11 +08:00
leiqing
1de1495430
Update README_EN.md
2022-11-13 19:15:34 +08:00
leiqing
e212f38ce9
Update README_EN.md
2022-11-13 19:07:41 +08:00
leiqing
54850b9bbc
Update README_CN.md
2022-11-13 18:59:06 +08:00
leiqing
f9c7adf2b2
Update README_CN.md
2022-11-13 18:57:02 +08:00
DefTruth
6a368f3448
[Android] Support segmentation and facedet in Android ( #567 )
...
* [FlyCV] Add global SetProcLibCpuNumThreads method
* [Android] Support segmentation and facedet in Android
* [Android] add JNI instance check to j_runtime_option_obj
* [Model] fixed ppseg flycv resize error
* [FlyCV] fix FlyCV resize flags
* [cmake] remove un-need lite compile option
* [Android] add PaddleSegModel JNI and fix some bugs
* [Android] bind PaddleSegModel via JNI
* [Android] bind VisSegmentation via JNI
* [Android] bind YOLOv5Face and SCRFD via JNI
* [Android] fix NewJavaFaceDetectionResultFromCxx error
2022-11-13 17:47:50 +08:00
Zeyu Chen
98cab48f8a
Add CODE_OF_CONDUCT.md ( #573 )
...
Create CODE_OF_CONDUCT.md
Add code of conduct for fastdeploy
2022-11-12 16:58:41 +08:00
Jason
f2e492c55b
[Other] Add function alias ( #571 )
...
Add function alias
2022-11-12 14:53:39 +08:00
heliqi
2693434190
[Serving]optimize serving build script ( #569 )
...
* optimizer serving build
* optimizer serving build
* optimizer serving build
2022-11-12 14:01:50 +08:00
Zeyu Chen
0a39b2c5dd
Update README_EN.md
2022-11-12 12:02:02 +08:00
yeliang2258
f74974c4a5
[Backend] Update p2o version to 1.0.3 ( #570 )
...
update p2o version to 1.0.3
2022-11-12 09:38:23 +08:00
Jason
894d563469
Update README_EN.md
2022-11-11 15:02:22 +08:00
yunyaoXYY
17a1189199
[Other] Set TRT dynamic input shape for PPOCR examples. ( #566 )
...
* 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
* Fix Rec model bug
* Fix Rec model bug
* Fix rec model bug
* Add SetTrtMaxBatchSize function for TensorRT
* Add SetTrtMaxBatchSize Pybind
* Add set_trt_max_batch_size python function
* Set TRT dynamic shape in PPOCR examples
* Set TRT dynamic shape in PPOCR examples
* Set TRT dynamic shape in PPOCR examples
Co-authored-by: Jason <jiangjiajun@baidu.com >
2022-11-11 14:05:01 +08:00
chenjian
0d0389f8d9
[Other] Update example codes using download_model api ( #486 )
...
* update example codes using download_model api
* add resource files to repo
* add resource files to repo
* fix
* reduce unused lib
* fix
2022-11-11 13:35:12 +08:00
heliqi
b0a30a7b10
[Serving]Add PPCls serving examples ( #555 )
...
* add ppcls serving examples
* fix ppcls/serving docs
* fix code style
2022-11-11 13:32:46 +08:00
WJJ1995
4bbfd977c7
[Other] Add onnx_ort_runtime cpp/python demos ( #565 )
...
* add onnx_ort_runtime demo
* rm in requirements
2022-11-11 12:47:06 +08:00
Jason
224c2cf1e8
Create devcontainer.json
2022-11-11 11:56:38 +08:00
tripleMu
8ac9354498
[DOCS] Fix url error ( #563 )
...
* Fix path error
* Fix typo
2022-11-10 23:04:51 +08:00
Jason
04d364d9d6
[Doc] update version number to 0.6.0 ( #552 )
...
update version number
2022-11-10 19:11:24 +08:00
huangjianhui
0d57562c99
[Bug Fix] Fix bugs in release task scripts ( #560 )
...
* Fix release_task cpp_run.sh
Author: felixhjh <852142024@qq.com >
Date: Thu Nov 10 07:26:48 2022 +0000
* Add option for infer_ppyoloe.cc
author: felixhjh <852142024@qq.com >
* Fix bug in release task scripts
2022-11-10 18:53:54 +08:00
leiqing
5b338ed898
Update README_CN.md
2022-11-10 18:13:44 +08:00
leiqing
7d7ac80da9
Update README_EN.md
2022-11-10 18:07:55 +08:00
yingshengBD
c7f5d4a168
[ Model ][rk1126] add picodet ( #557 )
...
[Example][rk1126] add picodet
2022-11-10 16:21:37 +08:00
heliqi
6bad97351f
[Other]Add dlpack ( #556 )
...
add dlpack
2022-11-10 16:00:08 +08:00
Jack Zhou
d4995e5468
[Model] Add stable diffusion model based on fastdeploy ( #297 )
...
* Add stable diffusion model base on fastdeploy
* Add sd infer
* pipelines->multimodal
* add create_ort_runtime
* use fp16 input
* fix pil
* Add optimize unet model
* add hf license
* Add workspace args
* Add profile func
* Add schedulers
* usrelace torch.Tenosr byp.ndarray
* Add readme
* Add trt shape setting
* add dynamic shape
* Add dynamic shape for stable diffusion
* fix max shape setting
* rename tensorrt file suffix
* update dynamic shape setting
* Add scheduler output
* Add inference_steps and benchmark steps
* add diffuser benchmark
* Add paddle infer script
* Rename 1
* Rename infer.py to torch_onnx_infer.py
* Add export torch to onnx model
* renmove export model
* Add paddle export model for diffusion
* Fix export model
* mv torch onnx infer to infer
* Fix export model
* Fix infer
* modif create_trt_runtime create_ort_runtime
* update export torch
* update requirements
* add paddle inference backend
* Fix unet pp run
* remove print
* Add paddle model export and infer
* Add device id
* remove profile to utils
* Add -1 device id
* Add safety checker args
* remove safety checker temporarily
* Add export model description
* Add predict description
* Fix readme
* Fix device_id description
* add timestep shape
* add use fp16 precision
* move use gpu
* Add EulerAncestralDiscreteScheduler
* Use EulerAncestralDiscreteScheduler with v1-5 model
* Add export model readme
* Add link of exported model
* Update scheduler on README
* Addd stable-diffusion-v1-5
2022-11-10 14:59:07 +08:00
yeliang2258
fa807340be
[Backend] Add Rockchip RV1126 deploy support through PaddleLite TIM-VX ( #439 )
...
* add rk1126 support
* update lib
* fix compile bugs
* update doc
* fix complie bug
* update doc
* update doc
* update code
* support model bigger than 2G
* update code
* update code
* update code
* update doc
* update code
* fix bug
* update code
* update code
* update code
* update doc
* update info
* code style check
* update code
* update doc
Co-authored-by: Jason <jiangjiajun@baidu.com >
2022-11-10 10:05:47 +08:00
Zheng_Bicheng
ca0de42d0b
[Model] 新增scrfd rknpu2代码 ( #504 )
...
* * 新增scrfd rknpu2代码
* * 新增scrfd python代码
* 修正文档
* 修正文档以及部分错误
* 修改文档
* 修复部分错误
* 修复部分错误
* 修复部分错误
* scrfd更新代码
* scrfd更新代码
2022-11-10 10:05:15 +08:00
leiqing
3319a5bdb2
Update README_EN.md
2022-11-09 22:23:01 +08:00
leiqing
eb2cf1afa6
Update README_EN.md
2022-11-09 22:15:46 +08:00
Zheng_Bicheng
795833ad2b
[Doc]Fix Doc Error ( #547 )
...
* 修正RKPicodet文档
* 修正yolov5文档模型大小的错误
* 修复picodet example代码错误
* 修正文档错误,以及example模型错误
2022-11-09 18:39:58 +08:00
leiqing
52314d6f5f
Update README_EN.md
2022-11-09 18:18:37 +08:00
leiqing
9a7a2418a1
Update README_EN.md
2022-11-09 18:15:57 +08:00
leiqing
a72fbc45d6
Update README.md
2022-11-09 17:48:24 +08:00
WJJ1995
2d508a40ec
[Doc] Fixed Typo in headpose ( #544 )
...
* add paddle_trt in benchmark
* update benchmark in device
* update benchmark
* update result doc
* fixed for CI
* update python api_docs
* update index.rst
* add runtime cpp examples
* deal with comments
* Update infer_paddle_tensorrt.py
* Add runtime quick start
* deal with comments
* fixed reused_input_tensors&&reused_output_tensors
* fixed docs
* fixed headpose typo
* fixed typo
Co-authored-by: Jason <928090362@qq.com >
2022-11-09 17:03:49 +08:00
Jason
30412cb599
Update paddle2onnx.cmake
2022-11-09 15:32:48 +08:00
yunyaoXYY
f1fb9748b3
[Doc] Fix PPOCR readme ( #540 )
...
* 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
2022-11-09 14:39:11 +08:00
WJJ1995
581962bcbb
[Doc] Update download_prebuilt_libraries.md ( #541 )
...
* add paddle_trt in benchmark
* update benchmark in device
* update benchmark
* update result doc
* fixed for CI
* update python api_docs
* update index.rst
* add runtime cpp examples
* deal with comments
* Update infer_paddle_tensorrt.py
* Add runtime quick start
* deal with comments
* fixed reused_input_tensors&&reused_output_tensors
* fixed docs
Co-authored-by: Jason <928090362@qq.com >
2022-11-09 14:38:50 +08:00
Jason
070458fc72
Update download_prebuilt_libraries.md
2022-11-09 14:12:07 +08:00
Jason
f2fed7959b
[Other] Add namespace for functions ( #538 )
...
Add namespace for functions
2022-11-09 13:57:53 +08:00
yunyaoXYY
4706a7c32a
[Backend] Add SetTrtMaxBatchSize function for TensorRT. ( #526 )
...
* 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
* Fix Rec model bug
* Fix Rec model bug
* Fix rec model bug
* Add SetTrtMaxBatchSize function for TensorRT
* Add SetTrtMaxBatchSize Pybind
* Add set_trt_max_batch_size python function
Co-authored-by: Jason <jiangjiajun@baidu.com >
2022-11-09 13:57:36 +08:00