Commit Graph

802 Commits

Author SHA1 Message Date
ziqi-jin
0692dcc405 Add PP-ModNet and PP-HumanMatting Support (#240)
* first commit for yolov7

* pybind for yolov7

* CPP README.md

* CPP README.md

* modified yolov7.cc

* README.md

* python file modify

* delete license in fastdeploy/

* repush the conflict part

* README.md modified

* README.md modified

* file path modified

* file path modified

* file path modified

* file path modified

* file path modified

* README modified

* README modified

* move some helpers to private

* add examples for yolov7

* api.md modified

* api.md modified

* api.md modified

* YOLOv7

* yolov7 release link

* yolov7 release link

* yolov7 release link

* copyright

* change some helpers to private

* change variables to const and fix documents.

* gitignore

* Transfer some funtions to private member of class

* Transfer some funtions to private member of class

* Merge from develop (#9)

* Fix compile problem in different python version (#26)

* fix some usage problem in linux

* Fix compile problem

Co-authored-by: root <root@bjyz-sys-gpu-kongming3.bjyz.baidu.com>

* Add PaddleDetetion/PPYOLOE model support (#22)

* add ppdet/ppyoloe

* Add demo code and documents

* add convert processor to vision (#27)

* update .gitignore

* Added checking for cmake include dir

* fixed missing trt_backend option bug when init from trt

* remove un-need data layout and add pre-check for dtype

* changed RGB2BRG to BGR2RGB in ppcls model

* add model_zoo yolov6 c++/python demo

* fixed CMakeLists.txt typos

* update yolov6 cpp/README.md

* add yolox c++/pybind and model_zoo demo

* move some helpers to private

* fixed CMakeLists.txt typos

* add normalize with alpha and beta

* add version notes for yolov5/yolov6/yolox

* add copyright to yolov5.cc

* revert normalize

* fixed some bugs in yolox

* fixed examples/CMakeLists.txt to avoid conflicts

* add convert processor to vision

* format examples/CMakeLists summary

* Fix bug while the inference result is empty with YOLOv5 (#29)

* Add multi-label function for yolov5

* Update README.md

Update doc

* Update fastdeploy_runtime.cc

fix variable option.trt_max_shape wrong name

* Update runtime_option.md

Update resnet model dynamic shape setting name from images to x

* Fix bug when inference result boxes are empty

* Delete detection.py

Co-authored-by: Jason <jiangjiajun@baidu.com>
Co-authored-by: root <root@bjyz-sys-gpu-kongming3.bjyz.baidu.com>
Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
Co-authored-by: huangjianhui <852142024@qq.com>

* first commit for yolor

* for merge

* Develop (#11)

* Fix compile problem in different python version (#26)

* fix some usage problem in linux

* Fix compile problem

Co-authored-by: root <root@bjyz-sys-gpu-kongming3.bjyz.baidu.com>

* Add PaddleDetetion/PPYOLOE model support (#22)

* add ppdet/ppyoloe

* Add demo code and documents

* add convert processor to vision (#27)

* update .gitignore

* Added checking for cmake include dir

* fixed missing trt_backend option bug when init from trt

* remove un-need data layout and add pre-check for dtype

* changed RGB2BRG to BGR2RGB in ppcls model

* add model_zoo yolov6 c++/python demo

* fixed CMakeLists.txt typos

* update yolov6 cpp/README.md

* add yolox c++/pybind and model_zoo demo

* move some helpers to private

* fixed CMakeLists.txt typos

* add normalize with alpha and beta

* add version notes for yolov5/yolov6/yolox

* add copyright to yolov5.cc

* revert normalize

* fixed some bugs in yolox

* fixed examples/CMakeLists.txt to avoid conflicts

* add convert processor to vision

* format examples/CMakeLists summary

* Fix bug while the inference result is empty with YOLOv5 (#29)

* Add multi-label function for yolov5

* Update README.md

Update doc

* Update fastdeploy_runtime.cc

fix variable option.trt_max_shape wrong name

* Update runtime_option.md

Update resnet model dynamic shape setting name from images to x

* Fix bug when inference result boxes are empty

* Delete detection.py

Co-authored-by: Jason <jiangjiajun@baidu.com>
Co-authored-by: root <root@bjyz-sys-gpu-kongming3.bjyz.baidu.com>
Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
Co-authored-by: huangjianhui <852142024@qq.com>

* Yolor (#16)

* Develop (#11) (#12)

* Fix compile problem in different python version (#26)

* fix some usage problem in linux

* Fix compile problem

Co-authored-by: root <root@bjyz-sys-gpu-kongming3.bjyz.baidu.com>

* Add PaddleDetetion/PPYOLOE model support (#22)

* add ppdet/ppyoloe

* Add demo code and documents

* add convert processor to vision (#27)

* update .gitignore

* Added checking for cmake include dir

* fixed missing trt_backend option bug when init from trt

* remove un-need data layout and add pre-check for dtype

* changed RGB2BRG to BGR2RGB in ppcls model

* add model_zoo yolov6 c++/python demo

* fixed CMakeLists.txt typos

* update yolov6 cpp/README.md

* add yolox c++/pybind and model_zoo demo

* move some helpers to private

* fixed CMakeLists.txt typos

* add normalize with alpha and beta

* add version notes for yolov5/yolov6/yolox

* add copyright to yolov5.cc

* revert normalize

* fixed some bugs in yolox

* fixed examples/CMakeLists.txt to avoid conflicts

* add convert processor to vision

* format examples/CMakeLists summary

* Fix bug while the inference result is empty with YOLOv5 (#29)

* Add multi-label function for yolov5

* Update README.md

Update doc

* Update fastdeploy_runtime.cc

fix variable option.trt_max_shape wrong name

* Update runtime_option.md

Update resnet model dynamic shape setting name from images to x

* Fix bug when inference result boxes are empty

* Delete detection.py

Co-authored-by: Jason <jiangjiajun@baidu.com>
Co-authored-by: root <root@bjyz-sys-gpu-kongming3.bjyz.baidu.com>
Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
Co-authored-by: huangjianhui <852142024@qq.com>

Co-authored-by: Jason <jiangjiajun@baidu.com>
Co-authored-by: root <root@bjyz-sys-gpu-kongming3.bjyz.baidu.com>
Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
Co-authored-by: huangjianhui <852142024@qq.com>

* Develop (#13)

* Fix compile problem in different python version (#26)

* fix some usage problem in linux

* Fix compile problem

Co-authored-by: root <root@bjyz-sys-gpu-kongming3.bjyz.baidu.com>

* Add PaddleDetetion/PPYOLOE model support (#22)

* add ppdet/ppyoloe

* Add demo code and documents

* add convert processor to vision (#27)

* update .gitignore

* Added checking for cmake include dir

* fixed missing trt_backend option bug when init from trt

* remove un-need data layout and add pre-check for dtype

* changed RGB2BRG to BGR2RGB in ppcls model

* add model_zoo yolov6 c++/python demo

* fixed CMakeLists.txt typos

* update yolov6 cpp/README.md

* add yolox c++/pybind and model_zoo demo

* move some helpers to private

* fixed CMakeLists.txt typos

* add normalize with alpha and beta

* add version notes for yolov5/yolov6/yolox

* add copyright to yolov5.cc

* revert normalize

* fixed some bugs in yolox

* fixed examples/CMakeLists.txt to avoid conflicts

* add convert processor to vision

* format examples/CMakeLists summary

* Fix bug while the inference result is empty with YOLOv5 (#29)

* Add multi-label function for yolov5

* Update README.md

Update doc

* Update fastdeploy_runtime.cc

fix variable option.trt_max_shape wrong name

* Update runtime_option.md

Update resnet model dynamic shape setting name from images to x

* Fix bug when inference result boxes are empty

* Delete detection.py

Co-authored-by: Jason <jiangjiajun@baidu.com>
Co-authored-by: root <root@bjyz-sys-gpu-kongming3.bjyz.baidu.com>
Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
Co-authored-by: huangjianhui <852142024@qq.com>

* documents

* documents

* documents

* documents

* documents

* documents

* documents

* documents

* documents

* documents

* documents

* documents

* Develop (#14)

* Fix compile problem in different python version (#26)

* fix some usage problem in linux

* Fix compile problem

Co-authored-by: root <root@bjyz-sys-gpu-kongming3.bjyz.baidu.com>

* Add PaddleDetetion/PPYOLOE model support (#22)

* add ppdet/ppyoloe

* Add demo code and documents

* add convert processor to vision (#27)

* update .gitignore

* Added checking for cmake include dir

* fixed missing trt_backend option bug when init from trt

* remove un-need data layout and add pre-check for dtype

* changed RGB2BRG to BGR2RGB in ppcls model

* add model_zoo yolov6 c++/python demo

* fixed CMakeLists.txt typos

* update yolov6 cpp/README.md

* add yolox c++/pybind and model_zoo demo

* move some helpers to private

* fixed CMakeLists.txt typos

* add normalize with alpha and beta

* add version notes for yolov5/yolov6/yolox

* add copyright to yolov5.cc

* revert normalize

* fixed some bugs in yolox

* fixed examples/CMakeLists.txt to avoid conflicts

* add convert processor to vision

* format examples/CMakeLists summary

* Fix bug while the inference result is empty with YOLOv5 (#29)

* Add multi-label function for yolov5

* Update README.md

Update doc

* Update fastdeploy_runtime.cc

fix variable option.trt_max_shape wrong name

* Update runtime_option.md

Update resnet model dynamic shape setting name from images to x

* Fix bug when inference result boxes are empty

* Delete detection.py

Co-authored-by: root <root@bjyz-sys-gpu-kongming3.bjyz.baidu.com>
Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
Co-authored-by: huangjianhui <852142024@qq.com>

Co-authored-by: Jason <jiangjiajun@baidu.com>
Co-authored-by: root <root@bjyz-sys-gpu-kongming3.bjyz.baidu.com>
Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
Co-authored-by: huangjianhui <852142024@qq.com>
Co-authored-by: Jason <928090362@qq.com>

* add is_dynamic for YOLO series (#22)

* modify ppmatting backend and docs

* modify ppmatting docs

* fix the PPMatting size problem

* fix LimitShort's log

* retrigger ci

* modify PPMatting docs

* modify the way  for dealing with  LimitShort

* add pphumanmatting and modnet series

* docs of PPMatting series

* add explanation of newly added processors and fix processors

* Modify LimitShort function and ppmatting.cc

* modify ResizeByShort and ppmatting.cc

* change resize_to_int_mult to limit_by_stride and delete resize_by_input_shape

* retrigger ci

* retrigger ci

* fix problem produced by ResizeByShort

* Update eigen.cmake

* Delete eigen.cmake

* refine code

* add test file for ppmatting series

* add squeeze for fd_tensor and modify ppmatting.cc

Co-authored-by: Jason <jiangjiajun@baidu.com>
Co-authored-by: root <root@bjyz-sys-gpu-kongming3.bjyz.baidu.com>
Co-authored-by: DefTruth <31974251+DefTruth@users.noreply.github.com>
Co-authored-by: huangjianhui <852142024@qq.com>
Co-authored-by: Jason <928090362@qq.com>
2022-10-07 21:44:16 +08:00
jiangjiajun
1005a09ff1 Add comment for namespace vision 2022-10-07 13:38:58 +00:00
Jason
12e5a65fc3 Add some comments for ppyoloe (#324)
* Add some comments for ppyoloe

* Update runtime.h
2022-10-07 20:41:04 +08:00
ChaoII
116265d239 add override mark (#312)
Co-authored-by: Jason <jiangjiajun@baidu.com>
2022-10-07 11:38:31 +08:00
leiqing
5c5debde51 create new jetson usage docs (#319)
* create new jetson usage docs

build fastdeploy on Jetson、deploy AI model using fastdeploy sdk and demo based on MIPI CSI camera

* Update use_cpp_sdk_on_jetson.md

* Update use_cpp_sdk_on_jetson.md

* Update use_cpp_sdk_on_jetson.md
2022-10-07 11:38:20 +08:00
Jack Zhou
a002a9be6d Merge pull request #314 from joey12300/add_float16_dtype
Add float16 dtype
2022-10-06 17:43:07 +08:00
Jason
2dc7d22a81 Merge branch 'develop' into add_float16_dtype 2022-10-06 16:01:38 +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
Jason
a8e08c9c1a Merge branch 'develop' into add_float16_dtype 2022-10-05 10:47:52 +08:00
zhoushunjie
6e4319348b add float16 2022-10-05 02:44:39 +00:00
DefTruth
c4288a92e1 [lite] add more options for lite backend (#313)
* [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
2022-10-04 17:31:48 +08:00
zhoushunjie
5147c1c750 Add fd tensor fp16 2022-10-04 02:44:24 +00:00
leiqing
f2e984fdfa Update README_EN.md 2022-10-03 09:17:50 +08:00
leiqing
0bd0281d7f Update README_CN.md 2022-10-03 09:17:27 +08:00
TrellixVulnTeam
ad50d9c701 CVE-2007-4559 Patch (#315)
Adding tarfile member sanitization to extractall()

Co-authored-by: TrellixVulnTeam <kasimir.schulz@trellix.com>
Co-authored-by: Jason <jiangjiajun@baidu.com>
Co-authored-by: Zeyu Chen <chenzeyu01@baidu.com>
2022-10-02 18:24:21 +08:00
zhoushunjie
faf04b49a6 Add float16 tests 2022-10-02 09:21:00 +00:00
jiangjiajun
2c030b73c5 add comment for runtime 2022-10-02 08:51:56 +00:00
jiangjiajun
7676a43288 modify comment of runtime 2022-10-02 08:43:14 +00:00
jiangjiajun
751494b255 modify comment of runtime 2022-10-02 08:40:29 +00:00
Jason
693d0a2d94 Update publish_cpp_api_docs.yml 2022-10-02 16:37:37 +08:00
Jason
3404518c69 Add action to publish cpp api documents (#317) 2022-10-02 16:36:49 +08:00
zhoushunjie
27f69a5340 Add float16 operator> 2022-10-02 08:33:48 +00:00
Jason
d0a03f4aa3 Update infer.cc 2022-10-02 15:25:12 +08:00
jiangjiajun
e55cdec486 Modify infer seg demo 2022-10-02 07:22:11 +00:00
jiangjiajun
e643743a9d Modify infer seg demo 2022-10-02 07:21:13 +00:00
DefTruth
4de832bc37 [docs] Update how_to_change_backend.md (#316)
Update how_to_change_backend.md
2022-10-02 14:25:14 +08:00
Jason
d835d3af0b Update infer.cc 2022-10-02 14:11:54 +08:00
Jason
db7a55f487 Update README.md 2022-10-02 13:52:47 +08:00
zhoushunjie
ec8b183d9c remote HOSTDEVICE modifier 2022-10-02 04:28:30 +00:00
zhoushunjie
84ee24ff67 Add float16 type size 2022-10-02 03:38:12 +00:00
zhoushunjie
6f73cc109d Add float16 dtype 2022-10-02 03:30:33 +00:00
Jason
275cec0ea4 Delete index.html 2022-09-30 17:38:42 +08:00
Jason
25db3bacc5 Create index.html 2022-09-30 17:38:29 +08:00
Jason
8a1e2c6143 Add some comments for runtime (#309)
* Add some notes for runtime

* modify note

* modify note

* add some comment

* Add comment for runtime

* Add comment for runtime

* Add comment for runtime

* Add comment for runtime
2022-09-30 14:43:44 +08:00
leiqing
dfb83a889e Update how_to_build_linux_and_mac.md 2022-09-30 12:09:12 +08:00
Jack Zhou
dd365fb721 Add trt max workspace setting (#308)
* add trt max workspace setting

* fix set trt max workspace
2022-09-30 09:54:34 +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
Jack Zhou
a37e596ce1 Merge pull request #305 from ChaoII/develop
[cmake]fix find tbb package in utils.cmake
2022-09-29 15:37:18 +08:00
Jason
8ba4a26ebb Refine cpp/python api of visualize with lots of deprecated apis (#303)
* fix patchelf

* refine visualize api

* Update CMakeLists.txt

* refine visualize api

* add libs directory

* Create __init__.py
2022-09-29 14:06:45 +08:00
Jason
b860c0b6ec Merge branch 'develop' into develop 2022-09-29 14:06:33 +08:00
DefTruth
543622efaf [docs] update windows c++ sdk vs2019 usage docs (#306)
* [docs] add use_sdk_on_windows.md into quick_start

* [docs] add use_sdk_on_windows.md into quick_start

* Update use_sdk_on_windows.md

* Update how_to_use_sdk_on_windows.md

* Update use_sdk_on_windows.md

* Update how_to_use_sdk_on_windows.md

* Update how_to_use_sdk_on_windows.md

* Update use_sdk_on_windows.md
2022-09-29 13:07:23 +08:00
ChaoII
97bcf5ac5d [cmake]fix find tbb package in utils.cmake 2022-09-29 11:38:16 +08:00
ChaoII
e06db60310 Merge branch 'develop' of github.com:PaddlePaddle/FastDeploy into develop 2022-09-29 10:39:26 +08:00
PaddleCI
cc7220d321 fix compile on mac 2022-09-29 10:38:32 +08:00
ChaoII
f14a303f13 Merge branch 'develop' of github.com:PaddlePaddle/FastDeploy into develop 2022-09-29 10:11:06 +08:00
DefTruth
6e4c213f17 [docs] add use_sdk_on_windows.md into quick_start (#304)
* [docs] add use_sdk_on_windows.md into quick_start

* [docs] add use_sdk_on_windows.md into quick_start
2022-09-29 09:29:24 +08:00
ChaoII
87d27c6a90 Merge branch 'develop' of github.com:PaddlePaddle/FastDeploy into develop
merge paddlepaddle/FastDeploy:develop
2022-09-29 09:06:24 +08:00
leiqing
77bc670d05 Update README_EN.md 2022-09-28 19:30:45 +08:00
ChaoII
9af0e93af6 [cmake] optimize opencv.cmake to ensure find_package take affect (#302)
* update reademe_cn link

* [fix] # Win/Linux/Mac  specified opencv path unable to take effect

* Update opencv.cmake
2022-09-28 19:07:00 +08:00
ChaoII
de88bb61c7 Update opencv.cmake 2022-09-28 18:18:20 +08:00