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
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
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
yeliang2258
7b15f72516
[Backend] Add OCR、Seg、 KeypointDetection、Matting、 ernie-3.0 and adaface models for XPU Deploy ( #960 )
...
* [FlyCV] Bump up FlyCV -> official release 1.0.0
* add seg models for XPU
* add ocr model for XPU
* add matting
* add matting python
* fix infer.cc
* add keypointdetection support for XPU
* Add adaface support for XPU
* add ernie-3.0
* fix doc
Co-authored-by: DefTruth <qiustudent_r@163.com >
Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com >
2022-12-26 15:02:58 +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
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
yeliang2258
104d965b38
[Backend] Add YOLOv5、PPYOLOE and PP-Liteseg for RV1126 ( #647 )
...
* add yolov5 and ppyoloe for rk1126
* update code, rename rk1126 to rv1126
* add PP-Liteseg
* update lite lib
* updade doc for PPYOLOE
* update doc
* fix docs
* fix doc and examples
* update code
* uodate doc
* update doc
Co-authored-by: Jason <jiangjiajun@baidu.com >
2022-12-05 16:48:00 +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
DefTruth
10ac610df6
[Bug Fix] fix camera preview size setting problem ( #638 )
...
* [Bug Fix] fix android app detail page errors
* [Android] fix realtime camera mode and shutter
* [Bug Fix] fix AllocateSegmentationResultFromJava error
* [Bug Fix] fix camera preview size setting problem
* [Model] use uint8 buffer instead of fp32 in ppseg postprocess
* [Model] revert changes in ppseg
* [Model] revert postprocess changes in ppseg
2022-11-21 10:52:11 +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
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
Jason
f2fed7959b
[Other] Add namespace for functions ( #538 )
...
Add namespace for functions
2022-11-09 13:57:53 +08:00
DefTruth
e453902809
[Other] Add static create methods to Mat ( #497 )
...
* [Other] Add static create methods to Mat
* [Other] avoid field name conflicts
2022-11-04 18:36:55 +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
Zheng_Bicheng
4ffcfbe726
[Backend] Add RKNPU2 backend support ( #456 )
...
* 10-29/14:05
* 新增cmake
* 新增rknpu2 backend
* 10-29/14:43
* Runtime fd_type新增RKNPU代码
* 10-29/15:02
* 新增ppseg RKNPU2推理代码
* 10-29/15:46
* 新增ppseg RKNPU2 cpp example代码
* 10-29/15:51
* 新增README文档
* 10-29/15:51
* 按照要求修改部分注释以及变量名称
* 10-29/15:51
* 修复重命名之后,cc文件中的部分代码还用旧函数名的bug
* 10-29/22:32
* str(Device::NPU)将输出NPU而不是UNKOWN
* 修改runtime文件中的注释格式
* 新增Building Summary ENABLE_RKNPU2_BACKEND输出
* pybind新增支持rknpu2
* 新增python编译选项
* 新增PPSeg Python代码
* 新增以及更新各种文档
* 10-30/14:11
* 尝试修复编译cuda时产生的错误
* 10-30/19:27
* 修改CpuName和CoreMask层级
* 修改ppseg rknn推理层级
* 图片将移动到网络进行下载
* 10-30/19:39
* 更新文档
* 10-30/19:39
* 更新文档
* 更新ppseg rknpu2 example中的函数命名方式
* 更新ppseg rknpu2 example为一个cc文件
* 修复disable_normalize_and_permute部分的逻辑错误
* 移除rknpu2初始化时的无用参数
* 10-30/19:39
* 尝试重置python代码
* 10-30/10:16
* rknpu2_config.h文件不再包含rknn_api头文件防止出现导入错误的问题
* 10-31/14:31
* 修改pybind,支持最新的rknpu2 backends
* 再次支持ppseg python推理
* 移动cpuname 和 coremask的层级
* 10-31/15:35
* 尝试修复rknpu2导入错误
* 10-31/19:00
* 新增RKNPU2模型导出代码以及其对应的文档
* 更新大量文档错误
* 10-31/19:00
* 现在编译完fastdeploy仓库后无需重新设置RKNN2_TARGET_SOC
* 10-31/19:26
* 修改部分错误文档
* 10-31/19:26
* 修复错误删除的部分
* 修复各种错误文档
* 修复FastDeploy.cmake在设置RKNN2_TARGET_SOC错误时,提示错误的信息
* 修复rknpu2_backend.cc中存在的中文注释
* 10-31/20:45
* 删除无用的注释
* 10-31/20:45
* 按照要求修改Device::NPU为Device::RKNPU,硬件将共用valid_hardware_backends
* 删除无用注释以及debug代码
* 11-01/09:45
* 更新变量命名方式
* 11-01/10:16
* 修改部分文档,修改函数命名方式
Co-authored-by: Jason <jiangjiajun@baidu.com >
2022-11-01 11:14:05 +08:00
DefTruth
a51e5a6e55
[Android] Add android aar package ( #416 )
...
* [Android] Add Android build docs and demo (#26 )
* [Backend] Add override flag to lite backend
* [Docs] Add Android C++ SDK build docs
* [Doc] fix android_build_docs typos
* Update CMakeLists.txt
* Update android.md
* [Doc] Add PicoDet Android demo docs
* [Doc] Update PicoDet Andorid demo docs
* [Doc] Update PaddleClasModel Android demo docs
* [Doc] Update fastdeploy android jni docs
* [Doc] Update fastdeploy android jni usage docs
* [Android] init fastdeploy android jar package
* [Backend] support int8 option for lite backend
* [Model] add Backend::Lite to paddle model
* [Backend] use CopyFromCpu for lite backend.
* [Android] package jni srcs and java api into aar
* Update infer.cc
* Update infer.cc
* [Android] Update package build.gradle
* [Android] Update android app examples
* [Android] update android detection app
2022-10-26 17:01:14 +08:00
WJJ1995
718698a32a
[Model] add RobustVideoMatting model ( #400 )
...
* add yolov5cls
* fixed bugs
* fixed bugs
* fixed preprocess bug
* add yolov5cls readme
* deal with comments
* Add YOLOv5Cls Note
* add yolov5cls test
* add rvm support
* support rvm model
* add rvm demo
* fixed bugs
* add rvm readme
* add TRT support
* add trt support
* add rvm test
* add EXPORT.md
* rename export.md
* rm poros doxyen
* deal with comments
* deal with comments
* add rvm video_mode note
Co-authored-by: Jason <jiangjiajun@baidu.com >
Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com >
2022-10-26 14:30:04 +08:00
huangjianhui
b565c15bf7
[Model] Add tinypose single && pipeline model ( #177 )
...
* Add tinypose model
* Add PPTinypose python API
* Fix picodet preprocess bug && Add Tinypose examples
* Update tinypose example code
* Update ppseg preprocess if condition
* Update ppseg backend support type
* Update permute.h
* Update README.md
* Update code with comments
* Move files dir
* Delete premute.cc
* Add single model pptinypose
* Delete pptinypose old code in ppdet
* Code format
* Add ppdet + pptinypose pipeline model
* Fix bug for posedetpipeline
* Change Frontend to ModelFormat
* Change Frontend to ModelFormat in __init__.py
* Add python posedetpipeline/
* Update pptinypose example dir name
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Create keypointdetection_result.md
* Create README.md
* Create README.md
* Create README.md
* Update README.md
* Update README.md
* Create README.md
* Fix det_keypoint_unite_infer.py bug
* Create README.md
* Update PP-Tinypose by comment
* Update by comment
* Add pipeline directory
* Add pptinypose dir
* Update pptinypose to align accuracy
* Addd warpAffine processor
* Update GetCpuMat to GetOpenCVMat
* Add comment for pptinypose && pipline
* Update docs/main_page.md
* Add README.md for pptinypose
* Add README for det_keypoint_unite
* Remove ENABLE_PIPELINE option
* Remove ENABLE_PIPELINE option
* Change pptinypose default backend
* PP-TinyPose Pipeline support multi PP-Detection models
* Update pp-tinypose comment
* Update by comments
* Add single test example
Co-authored-by: Jason <jiangjiajun@baidu.com >
2022-10-21 09:28:23 +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
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
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
huangjianhui
4a4c37aa97
Update ppseg resize image && valid backend according to input_shape ( #284 )
...
* Update ppseg resize image && valid backend according to input_shape
* Update ppseg model.cc
Co-authored-by: Jason <jiangjiajun@baidu.com >
2022-09-30 09:53:03 +08:00
huangjianhui
625845c7d6
Update ppseg with eigen functions ( #238 )
...
* Update ppseg backend support type
* Update ppseg preprocess if condition
* Update README.md
* Update README.md
* Update README.md
* Update ppseg with eigen functions
* Delete old argmax function
* Update README.md
* Delete apply_softmax in ppseg example demo
* Update ppseg code with createFromTensor function
* Delete FDTensor2CVMat function
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update ppseg model.cc with transpose&&softmax in place convert
* Update segmentation_result.md
* Update model.cc
* Update README.md
* Update README.md
Co-authored-by: Jason <jiangjiajun@baidu.com >
2022-09-22 21:21:47 +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
WJJ1995
06908b8beb
Add Benchmark test ( #200 )
...
* add ppcls benchmark
* add ppcls benchmark
* add ppcls benchmark
* add ppcls benchmark
* fixed txt path
* resolve conflict
* resolve conflict
* deal with comments
* Add enable_trt_fp16 option
* Add OV backend for seg and det
* fixed valid backends in ppdet
* fixed valid backends in yolo
* add copyright and rm Chinese Notes
* add ppdet&ppseg&yolo benchmark
* add cpu/gpu mem info
Co-authored-by: Jason <jiangjiajun@baidu.com >
2022-09-14 20:15:01 +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