Wang Xinyu
cb7c8a07d4
[CVCUDA] PaddleDetection preprocessor support CV-CUDA ( #1493 )
...
* ppdet preproc use manager
* pad_to_size chw opencv
* pad_to_size chw flycv
* fix pad_to_size flycv
* add warning message
* cvcuda convert cubic to linear, padToSize cvcuda
* stridedpad cvcuda
* fix flycv include
* fix flycv include
* fix flycv build
* cast cvcuda
* fix pybind
* fix normalize permute cuda
* base processor move funcs to cc
* Update pad_to_size.cc
2023-03-10 12:43:57 +08:00
shirukai
96a3698271
[Model] Support size param to ResizeImage preprocessor ( #1527 )
...
feat: ResizeImage函数新增支持按照size处理图片
2023-03-08 09:53:33 +08:00
Wang Xinyu
91a1c72f98
[CVCUDA] PP-OCR detector preprocessor integrate CV-CUDA ( #1382 )
...
* move manager initialized_ flag to ppcls
* update dbdetector preprocess api
* declare processor op
* ppocr detector preprocessor support cvcuda
* move cvcuda op to class member
* ppcls use manager register api
* refactor det preprocessor init api
* add set preprocessor api
* add create processor macro
* new processor call api
* ppcls preprocessor init resize on cpu
* ppocr detector preprocessor set normalize api
* revert ppcls pybind
* remove dbdetector set preprocessor
* refine dbdetector preprocessor includes
* remove mean std in py constructor
* add comments
* update comment
* Update __init__.py
2023-02-22 19:39:11 +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
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
Wang Xinyu
62e051e21d
[CVCUDA] CMake integration, vison processor CV-CUDA integration, PaddleClas support CV-CUDA ( #1074 )
...
* cvcuda resize
* cvcuda center crop
* cvcuda resize
* add a fdtensor in fdmat
* get cv mat and get tensor support gpu
* paddleclas cvcuda preprocessor
* fix compile err
* fix windows compile error
* rename reused to cached
* address comment
* remove debug code
* add comment
* add manager run
* use cuda and cuda used
* use cv cuda doc
* address comment
---------
Co-authored-by: Jason <jiangjiajun@baidu.com >
2023-01-30 09:33:49 +08:00
Dantès
34bea7649d
[Backend] add sophgo backend ( #1015 )
...
* Add Sophgo Device
add sophgo backend in fastdeploy
add resnet50, yolov5s, liteseg examples.
* replace sophgo lib with download links; fix model.cc bug
* modify CodeStyle
* remove unuseful files;change the names of sophgo device and sophgo
backend
* sophgo support python and add python examples
* remove unuseful rows in cmake according pr
Co-authored-by: Zilong Xing <zilong.xing@sophgo.com >
2023-01-04 15:49:17 +08:00
Zheng-Bicheng
0401580264
[Bug Fix] Fixed Ppclas Bugs ( #1009 )
...
* 更新ppclas
* 更新ppclas
* 更新ppclas
* 更新ppclas
2022-12-29 14:13:55 +08:00
舞影凌风
973c746d06
[RKNPU2]support rknpu2 ClasModel #957 ( #964 )
...
* [RKNPU2]support rknpu2 ClasModel #957
* [RKNPU2]support rknpu2 ClasModel #957
* [RKNPU2]support rknpu2 add Resnet50_vd example #957
* [RKNPU2]support rknpu2 add Resnet50_vd example #957
* [RKNPU2]support rknpu2, improve doc #957
* [RKNPU2]support rknpu2, improve doc #957
* [RKNPU2]support rknpu2, improve doc #957
* [RKNPU2]support rknpu2, improve doc #957
* [RKNPU2]support rknpu2, improve doc #957
* [RKNPU2]support rknpu2, improve doc #957
* [RKNPU2]support rknpu2, improve doc #957
2022-12-28 17:58:18 +08:00
yeliang2258
45865c8724
[Other] Change all XPU to KunlunXin ( #973 )
...
* [FlyCV] Bump up FlyCV -> official release 1.0.0
* XPU to KunlunXin
* update
* update model link
* update doc
* update device
* update code
* useless code
Co-authored-by: DefTruth <qiustudent_r@163.com >
Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com >
2022-12-27 10:02:02 +08:00
yunyaoXYY
d45382e3cc
[Backend] Add Huawei Ascend NPU deploy using PaddleLite CANN. ( #757 )
...
* 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
* 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
* Improve Ascend
* Improve Ascend
* Move ascend python demo
* Imporve ascend
* Improve ascend
* Improve ascend
* Improve ascend
* Improve ascend
* Imporve ascend
* Imporve ascend
* Improve ascend
2022-12-26 10:18:34 +08:00
Jason
2d998223ac
[Backend] Add KunlunXin XPU deploy support ( #894 )
...
Revert "Revert "[Backend] Add KunlunXin XPU deploy support" (#893 )"
This reverts commit 0990ab9b50
.
2022-12-16 11:22:30 +08:00
Jason
0990ab9b50
Revert "[Backend] Add KunlunXin XPU deploy support" ( #893 )
...
Revert "[Backend] Add KunlunXin XPU deploy support (#747 )"
This reverts commit 5be839b322
.
2022-12-15 21:17:59 +08:00
yeliang2258
5be839b322
[Backend] Add KunlunXin XPU deploy support ( #747 )
...
* add xpu support
* fix docs
* update code
* update doc
* update code
* update yolov5
* update cmake
* add int64_t data support
* fix
* update download links
* add en doc
* update code
* update xpu options
* update doc
* update doc
* update doc
* update lib links
* update doc
* update code
* update lite xpu link
* update xpu lib
* update doc
* update en doc
2022-12-15 21:17:14 +08:00
huangjianhui
9937b6c325
[Other] Add Model Clone function for PaddleClas && PaddleDet && PaddleSeg ( #791 )
...
* Refactor PaddleSeg with preprocessor && postprocessor
* Fix bugs
* Delete redundancy code
* Modify by comments
* Refactor according to comments
* Add batch evaluation
* Add single test script
* Add ppliteseg single test script && fix eval(raise) error
* fix bug
* Fix evaluation segmentation.py batch predict
* Fix segmentation evaluation bug
* Fix evaluation segmentation bugs
* Update segmentation result docs
* Update old predict api and DisableNormalizeAndPermute
* Update resize segmentation label map with cv::INTER_NEAREST
* Add Model Clone function for PaddleClas && PaddleDet && PaddleSeg
* Add multi thread demo
* Add python model clone function
* Add multi thread python && C++ example
* Fix bug
Co-authored-by: Jason <jiangjiajun@baidu.com >
2022-12-13 15:19:47 +08:00
WJJ1995
5930ca78dc
[Backend] Change valid_cpu_backends order ( #726 )
...
* add onnx_ort_runtime demo
* rm in requirements
* support batch eval
* fixed MattingResults bug
* move assignment for DetectionResult
* integrated x2paddle
* add model convert readme
* update readme
* re-lint
* add processor api
* Add MattingResult Free
* change valid_cpu_backends order
Co-authored-by: Jason <jiangjiajun@baidu.com >
2022-11-28 19:49:45 +08:00
huangjianhui
312e1b097d
[Other]Refactor PaddleSeg with preprocessor && postprocessor && support batch ( #639 )
...
* Refactor PaddleSeg with preprocessor && postprocessor
* Fix bugs
* Delete redundancy code
* Modify by comments
* Refactor according to comments
* Add batch evaluation
* Add single test script
* Add ppliteseg single test script && fix eval(raise) error
* fix bug
* Fix evaluation segmentation.py batch predict
* Fix segmentation evaluation bug
* Fix evaluation segmentation bugs
Co-authored-by: Jason <jiangjiajun@baidu.com >
2022-11-28 15:50:12 +08:00
heliqi
6ebe612377
[Serving]ppcls preprocessor support gpu ( #615 )
...
* serving ppcls support gpu
* serving ppcls preprocessor use cpu
2022-11-17 17:16:32 +08:00
DefTruth
ac805c26d9
[Bug Fix] fix FastDeploy.cmake.in errors for Android ( #616 )
...
* [Backend] fix lite backend save model error
* [Backend] fixed typos
* [FlyCV] optimize the integration of FlyCV
* [cmake] close some tests options
* [cmake] close some test option
* [FlyCV] remove un-need warnings
* [FlyCV] remove un-need GetMat method
* [FlyCV] optimize FlyCV codes
* [cmake] remove un-need cmake function in examples/CMakelists
* [cmake] support gflags for Android
* [Android] Run button shutter in sub Ui Thread
* [Android] Update CameraSurfaceView
* [Android] Update Android SDK usage docs
* [Android] Add facedet Android app example
* [cmake] fix FastDeploy.cmake.in errors for Android
* [Doc] update SetProcLibCpuNumThreads API doc
2022-11-16 22:33:04 +08:00
Jason
b3afc214c0
[Bug Fix] Fix preprocessor pybind api bug ( #585 )
...
* Fix preprocessor pybind api bug
* Update fd_tensor.cc
2022-11-14 19:01:12 +08:00
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
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
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
Jason
f2fed7959b
[Other] Add namespace for functions ( #538 )
...
Add namespace for functions
2022-11-09 13:57:53 +08:00
WJJ1995
d259952224
[Bug Fix] change reused_input_tensors&&reused_output_tensors name ( #534 )
...
* 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
Co-authored-by: Jason <928090362@qq.com >
2022-11-09 00:33:33 +08:00
Jason
3589c0fa94
[Model] Refactor PaddleClas module ( #505 )
...
* Refactor the PaddleClas module
* fix bug
* remove debug code
* clean unused code
* support pybind
* Update fd_tensor.h
* Update fd_tensor.cc
* temporary revert python api
* fix ci error
* fix code style problem
2022-11-07 19:33:47 +08:00
DefTruth
a36d49a973
[FlyCV] optimize the integration of FlyCV ( #492 )
...
* [Backend] fix lite backend save model error
* [Backend] fixed typos
* [FlyCV] optimize the integration of FlyCV
* [cmake] close some tests options
* [cmake] close some test option
* [FlyCV] remove un-need warnings
* [FlyCV] remove un-need GetMat method
* [FlyCV] optimize FlyCV codes
* [cmake] remove un-need cmake function in examples/CMakelists
* [cmake] support gflags for Android
2022-11-04 09:19:03 +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
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
e227c5625e
Rename fastdeploy_runtime.h to runtime.h and Frontend to ModelFormat ( #263 )
...
rename frontend to model_format
2022-09-22 13:24:05 +08:00
Jason
addce837bc
Add paddlelite backend support ( #260 )
...
* Add paddlelite backend support
* Update CMakeLists.txt
* Update __init__.py
2022-09-21 13:22:34 +08:00
Jason
68523be411
Modify file structure to separate python and cpp code ( #223 )
...
Modify code structure
2022-09-14 15:44:13 +08:00
huangjianhui
32047016d6
Update evaluation function to support calculate average inference time ( #106 )
...
* Update README.md
* Update README.md
* Update README.md
* Create README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Add evaluation calculate time and fix some bugs
* Update classification __init__
* Move to ppseg
Co-authored-by: Jason <jiangjiajun@baidu.com >
2022-08-12 17:42:09 +08:00
jiangjiajun
bf5affb510
add paddleclas draft doct
2022-08-10 07:19:47 +00:00