[Model] Add YOLOv5-seg (#988)

* 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

* add ppocr benchmark

* mv bs from 64 to 32

* fixed quantize.md

* fixed quantize bugs

* Add Monitor for benchmark

* update mem monitor

* Set trt_max_batch_size default 1

* fixed ocr benchmark bug

* support yolov5 in serving

* Fixed yolov5 serving

* Fixed postprocess

* update yolov5 to 7.0

* add poros runtime demos

* update readme

* Support poros abi=1

* rm useless note

* deal with comments

* support pp_trt for ppseg

* fixed symlink problem

* Add is_mini_pad and stride for yolov5

* Add yolo series for paddle format

* fixed bugs

* fixed bug

* support yolov5seg

* fixed bug

* refactor yolov5seg

* fixed bug

* mv Mask int32 to uint8

* add yolov5seg example

* rm log info

* fixed code style

* add yolov5seg example in python

* fixed dtype bug

* update note

* deal with comments

* get sorted index

* add yolov5seg test case

* Add GPL-3.0 License

* add round func

* deal with comments

* deal with commens

Co-authored-by: Jason <jiangjiajun@baidu.com>
This commit is contained in:
WJJ1995
2023-01-11 15:36:32 +08:00
committed by GitHub
parent 60e6a12b93
commit aa6931bee9
28 changed files with 1607 additions and 33 deletions

2
fastdeploy/vision/detection/detection_pybind.cc Normal file → Executable file
View File

@@ -22,6 +22,7 @@ void BindYOLOR(pybind11::module& m);
void BindYOLOv6(pybind11::module& m);
void BindYOLOv5Lite(pybind11::module& m);
void BindYOLOv5(pybind11::module& m);
void BindYOLOv5Seg(pybind11::module& m);
void BindFastestDet(pybind11::module& m);
void BindYOLOX(pybind11::module& m);
void BindNanoDetPlus(pybind11::module& m);
@@ -40,6 +41,7 @@ void BindDetection(pybind11::module& m) {
BindYOLOv6(detection_module);
BindYOLOv5Lite(detection_module);
BindYOLOv5(detection_module);
BindYOLOv5Seg(detection_module);
BindFastestDet(detection_module);
BindYOLOX(detection_module);
BindNanoDetPlus(detection_module);