Jason
6be2c0367b
[Example] Update runtime examples ( #1542 )
...
* Add notes for tensors
* Optimize some apis
* move some warnings
2023-03-08 16:56:04 +08:00
Jason
bf2ba72f1b
[Compile] Support build FastDeploy with GLIBCXX_ABI=0 ( #1528 )
...
* Support abi=0 build
* trigger ci
* fix cmake
2023-03-07 09:45:30 +08:00
DefTruth
767647d88e
[Android] Add WITH_TENSOR_FUNCS option -> Android ( #1512 )
...
* [Android] Add WITH_TENSOR_FUNCS option -> Android
* [Android] move android cmake codes -> android.cmake
* [Android] move android cmake codes -> android.cmake
2023-03-06 13:33:43 +08: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
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
DefTruth
b732e4c711
[Bug Fix] Add bundle script for text api only pkg ( #1295 )
...
[Android] Add bundle script for text api only pkg
2023-02-10 12:00:43 +08:00
DefTruth
ce424c313e
[XPU] Add XPU option for benchmark example ( #1287 )
...
* [XPU] Add xpu option for benchmark example
* [XPU] Add fp16 flags
2023-02-10 11:24:40 +08:00
DefTruth
ab5377b5fa
[Benchmark] Add PaddleYOLOv8 cpp benchmark example & lite flags option ( #1270 )
...
* [Android] Add PaddleYOLOv8 cpp benchmark example & lite flags option
* [Benchmark] add linux x86_64 gpu benchmark build script
2023-02-09 11:58:07 +08:00
zhoushunjie
396a291bc2
update cmake
2023-02-08 09:14:45 +00:00
zhoushunjie
f8903222bf
Add build_android_cpp_with_text_api_only
2023-02-08 08:31:35 +00:00
DefTruth
f73a538f61
[Backend] support bechmark mode for runtime and backend ( #1201 )
...
* [backend] support bechmark mode for runtime and backend
* [backend] support bechmark mode for runtime and backend
* [pybind11] add benchmark methods pybind
* [pybind11] add benchmark methods pybind
* [Other] Update build scripts
* [Other] Update cmake/summary.cmake
* [Other] update build scripts
* [Other] add ENABLE_BENCHMARK option -> setup.py
* optimize backend time recording
* optimize backend time recording
* optimize trt backend time record
* [backend] optimze backend_time recording for trt
* [benchmark] remove redundant logs
* fixed ov_backend confilct
* [benchmark] fixed paddle_backend conflicts
* [benchmark] fixed paddle_backend conflicts
* [benchmark] fixed paddle_backend conflicts
* [benchmark] remove use_gpu option from ort backend option
* [benchmark] update benchmark_ppdet.py
* [benchmark] update benchmark_ppcls.py
* fixed lite backend conflicts
* [Lite] fixed lite xpu
* add benchmark macro
* add RUNTIME_PROFILE_LOOP macros
* add comments for RUNTIME_PROFILE macros
* add comments for new apis
* add comments for new apis
* update benchmark_ppdet.py
* afixed bugs
* remove unused codes
* optimize RUNTIME_PROFILE_LOOP macros
* optimize RUNTIME_PROFILE_LOOP macros
* add comments for benchmark option and result
* add docs for benchmark namespace
2023-02-06 14:29:35 +08:00
DefTruth
2613e9c5d0
[Android] support fastdeploy build with static deps(60Mb->29~31Mb) ( #1176 )
...
* [Android] support fastdeploy build with static deps(70Mb->17~19Mb)
* [Android] support fastdeploy build with static deps(60Mb->29~30Mb)
* fixed ci
* fixed ci
* [staticlib] support fd android static lib
* [static] optimize bundle_static_library func
* [staticlib] add api_helpers.h -> staticlib headers
* [staticlib] add api_helpers.h -> staticlib headers
* [staticlib] add api_helpers.h -> staticlib headers
* [staticlib] Fixed Paddle Lite paddle_use_kernels.h to support fd armv7 static lib
* [staticlib] Add strip -> fd static lib target
* [staticlib] optimize bundle_static_library func
* [staticlib] add strip for fd static lib on mac osx
* [staticlib] move api_helpers -> lite/option
* [staticlib] optimize bundle_static_library
* [staticlib] add Android limit
2023-01-30 19:39:56 +08:00
yeliang2258
c866377382
[Bug Fix]Fix KunlunXin compile bug ( #1120 )
...
* fix KunlunXin compile bugs
* update code
2023-01-12 15:52:33 +08:00
Zheng-Bicheng
3a32024912
[Doc] 更新RKNPU2文档以及修改FastDeploy环境变量的脚本 ( #1102 )
...
* 更新交叉编译
* 更新交叉编译
* 更新交叉编译
* 更新交叉编译
* 更新交叉编译
* 更新交叉编译
* 更新交叉编译
* 更新交叉编译
* 更新交叉编译
* Update issues.md
* Update fastdeploy_init.sh
* 更新交叉编译
Co-authored-by: Jason <928090362@qq.com >
2023-01-10 15:22:06 +08:00
Jason
df20b2a02b
[Other] Remove useless macros ( #1095 )
...
* Remove useless macros
* triger ci
* fix check error
* rename INTEGRATE_PADDLE2ONNX to ENABLE_PADDLE2ONNX
2023-01-09 21:35:23 +08:00
yunyaoXYY
43f22f4bf6
[Other] Support Ascend deployment on X86 platform. ( #1067 )
...
* 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
* 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 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
2023-01-09 17:13:12 +08:00
yunyaoXYY
58d63f3e90
[Other] Add detection, segmentation and OCR examples for Ascend deploy. ( #983 )
...
* 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
* 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 PPOCR example for ascend deploy
* Imporve paddle lite compiliation
* Add FlyCV doc
* Add FlyCV doc
* Add FlyCV doc
* Imporve Ascend docs
* Imporve Ascend docs
2023-01-04 10:01:23 +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
DefTruth
5b54bcfb48
[ARM] fix VisSegmentation background error with bit ops ( #852 )
...
* [NEON] fix visseg background error with bit ops
* [Bug Fix] fix build_android_aar.sh ci scripts
* [Bug Fix] fix VisSegmentationCommonCpu
2022-12-12 09:54:08 +08:00
DefTruth
195132a1c7
[Android] Update Android build scripts & app download tasks ( #835 )
...
* [Android] Add ERNIE3.0 intent and slot task jni support
* [Bug Fix] fix app sdk download tasks
* [Bug Fix] fix app sdk download tasks
* [JNI] remove empty .cc files
* [Android] Update Android build scripts
2022-12-09 15:53:26 +08:00
DefTruth
17f5e22a85
[Android] add Android CI build scripts ( #805 )
2022-12-06 14:22:39 +08:00
jiangjiajun
7761bbed4f
Simplify initialize bash
2022-11-29 10:27:11 +08:00
Jack Zhou
eeae48deff
[Other] faster_tokenizer->fast_tokenizer ( #636 )
...
* faster_tokenizer->fast_tokenizer
* ErnieFasterTokenizer->ErnieFastTokenizer
* update the fastdeploy_init
Co-authored-by: Jason <jiangjiajun@baidu.com >
2022-11-21 13:45:00 +08:00
Jason
44393c5add
Update fastdeploy_init.sh
2022-11-20 11:32:30 +08:00
Jason
60f7b48c98
Update fastdeploy_init.sh
2022-11-20 11:28:53 +08:00
Jason
1073027197
Update fastdeploy_init.sh
2022-11-20 11:17:18 +08:00
Jason
bb00e0757e
[Model] Integrate FlyCV image processing library ( #375 )
...
* Add falcon cmake
* Update CMakeLists.txt
* Add implementation for more preprocessors
* Add more implementation
* Add more implementations by flycv
* Fix some name
* fix some bug
* ready to test
* add fuse
* fix fuse problem
* add debug code
* add debug
* [Android] integrate flycv to Android (#459 )
* [Android] integrate flycv into Andorid
* Falconcv (#27 )
* [Bug Fix ]Update ppseg visualize python api && demo (#454 )
Update ppseg visualize python api && demo
* [Model] update pptracking letterboxresize and add some comment (#438 )
* add override mark
* delete some
* recovery
* recovery
* add tracking
* add tracking py_bind and example
* add pptracking
* add pptracking
* iomanip head file
* add opencv_video lib
* add python libs package
Signed-off-by: ChaoII <849453582@qq.com >
* complete comments
Signed-off-by: ChaoII <849453582@qq.com >
* add jdeTracker_ member variable
Signed-off-by: ChaoII <849453582@qq.com >
* add 'FASTDEPLOY_DECL' macro
Signed-off-by: ChaoII <849453582@qq.com >
* remove kwargs params
Signed-off-by: ChaoII <849453582@qq.com >
* [Doc]update pptracking docs
* delete 'ENABLE_PADDLE_FRONTEND' switch
* add pptracking unit test
* update pptracking unit test
Signed-off-by: ChaoII <849453582@qq.com >
* modify test video file path and remove trt test
* update unit test model url
* remove 'FASTDEPLOY_DECL' macro
Signed-off-by: ChaoII <849453582@qq.com >
* fix build python packages about pptracking on win32
Signed-off-by: ChaoII <849453582@qq.com >
* update comment
Signed-off-by: ChaoII <849453582@qq.com >
* add pptracking model explain
Signed-off-by: ChaoII <849453582@qq.com >
Signed-off-by: ChaoII <849453582@qq.com >
Co-authored-by: Jason <jiangjiajun@baidu.com >
Signed-off-by: ChaoII <849453582@qq.com >
Co-authored-by: huangjianhui <852142024@qq.com >
Co-authored-by: ChaoII <849453582@qq.com >
Co-authored-by: Jason <jiangjiajun@baidu.com >
* [cmake] optimize examples CMakeLists.txt
Signed-off-by: ChaoII <849453582@qq.com >
Co-authored-by: huangjianhui <852142024@qq.com >
Co-authored-by: ChaoII <849453582@qq.com >
Co-authored-by: Jason <jiangjiajun@baidu.com >
* remove debug log
* remove function
* remove function
Signed-off-by: ChaoII <849453582@qq.com >
Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com >
Co-authored-by: huangjianhui <852142024@qq.com >
Co-authored-by: ChaoII <849453582@qq.com >
2022-11-01 10:42:52 +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
584ba3de68
[win] Add fastdeploy_init.bat and update docs ( #320 )
...
* [cmake] support Android arm64-v8a & armeabi-v7a native c++ sdk
* [cmake] fixed patchelf download on mac and android
* [lite] Add threads and power_mode option support
* [pybind] update runtime pybind for lite power mode
* [python] Add set_lite_power_mode api to runtime
* [Lite] add lite enable_fp16 option support
* [lite] add more options for lite backend.
* [cmake] fixed Paddle Lite typo
* [runtime] format LitePowerMode enum comments
* [runtime] format lite option comments
* [win] Add fastdeploy_init.bat and update docs
* [win] Add fastdeploy_init.bat and update docs
2022-10-06 15:57:18 +08:00
PaddleCI
cc7220d321
fix compile on mac
2022-09-29 10:38:32 +08:00
jiangjiajun
1fe7ba4a33
add init.sh for linux and mac
2022-09-28 03:25:26 +00:00
jiangjiajun
8d5090115d
add init.sh for linux and max
2022-09-28 03:24:59 +00:00
Jason
311a59c62d
Add patchelf to solve the build problem on Linux without patchelf ( #291 )
...
* add patchelf as tool
* Update CMakeLists.txt
2022-09-28 10:48:49 +08:00
Jason
36eb6fbba6
Fix build on jetson ( #281 )
...
* Fix compile on Jetson
* trigger ci
2022-09-26 19:23:30 +08:00
Jason
5046574b95
Fix bug for part of detection model ( #243 )
...
* fix error for part of detection model
* fix error for part of detection model
* add patch paddle inference
2022-09-16 16:31:34 +08:00
Jason
695034fdad
Modify directory external
and build_scripts
name ( #225 )
...
modify directory name
2022-09-14 20:13:35 +08:00