Commit c721773
[Model] Add python API for the detection result and modify YOLOv7 docs (#708)
* 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 python comments for external models
* modify resnet c++ comments
* modify C++ comments for external models
* modify python comments and add result class comments
* fix comments compile error
* modify result.h comments
* python API for detection result
* modify yolov7 docs
* modify python detection api
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>1 parent d8d030b commit c721773
5 files changed
Lines changed: 118 additions & 30 deletions
File tree
- examples/vision/detection
- paddledetection
- yolov7
- fastdeploy/vision/visualize
- python/fastdeploy/vision/visualize
Lines changed: 80 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
Lines changed: 31 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
23 | | - | |
24 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
25 | 32 | | |
26 | 33 | | |
27 | 34 | | |
| |||
40 | 47 | | |
41 | 48 | | |
42 | 49 | | |
43 | | - | |
44 | | - | |
| 50 | + | |
45 | 51 | | |
46 | 52 | | |
47 | 53 | | |
| |||
86 | 92 | | |
87 | 93 | | |
88 | 94 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
95 | 102 | | |
96 | 103 | | |
97 | 104 | | |
| |||
107 | 114 | | |
108 | 115 | | |
109 | 116 | | |
110 | | - | |
111 | | - | |
| 117 | + | |
112 | 118 | | |
113 | 119 | | |
114 | 120 | | |
| |||
131 | 137 | | |
132 | 138 | | |
133 | 139 | | |
134 | | - | |
135 | | - | |
| 140 | + | |
| 141 | + | |
136 | 142 | | |
137 | 143 | | |
138 | 144 | | |
| |||
194 | 200 | | |
195 | 201 | | |
196 | 202 | | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
206 | 213 | | |
207 | 214 | | |
208 | 215 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | | - | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
0 commit comments