From f88c662449a0696599524dc3cb58888eb38f5e30 Mon Sep 17 00:00:00 2001 From: DefTruth <31974251+DefTruth@users.noreply.github.com> Date: Sat, 14 Jan 2023 14:51:25 +0800 Subject: [PATCH] [YOLOv8] add PaddleYOLOv8 pybind11 (#1144) * [Model] Support PaddleYOLOv8 model * [YOLOv8] Add PaddleYOLOv8 pybind * [Other] update from latest develop (#30) * [Backend] Remove all lite options in RuntimeOption (#1109) * Remove all lite options in RuntimeOption * Fix code error * move pybind * Fix build error * [Backend] Add TensorRT FP16 support for AdaptivePool2d (#1116) * add fp16 cuda kernel * fix code bug * update code * [Doc] Fix KunlunXin doc (#1139) fix kunlunxin doc * [Model] Support PaddleYOLOv8 model (#1136) Co-authored-by: Jason Co-authored-by: yeliang2258 <30516196+yeliang2258@users.noreply.github.com> Co-authored-by: Jason Co-authored-by: yeliang2258 <30516196+yeliang2258@users.noreply.github.com> --- fastdeploy/vision/detection/ppdet/ppdet_pybind.cc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/fastdeploy/vision/detection/ppdet/ppdet_pybind.cc b/fastdeploy/vision/detection/ppdet/ppdet_pybind.cc index 800d656b37d..67f63eb23b2 100644 --- a/fastdeploy/vision/detection/ppdet/ppdet_pybind.cc +++ b/fastdeploy/vision/detection/ppdet/ppdet_pybind.cc @@ -134,30 +134,42 @@ void BindPPDet(pybind11::module& m) { .def(pybind11::init()); + pybind11::class_(m, "PaddleYOLOv8") + .def(pybind11::init()); + pybind11::class_(m, "RTMDet") .def(pybind11::init()); + pybind11::class_(m, "CascadeRCNN") .def(pybind11::init()); + pybind11::class_(m, "PSSDet") .def(pybind11::init()); + pybind11::class_(m, "RetinaNet") .def(pybind11::init()); + pybind11::class_(m, "PPYOLOESOD") .def(pybind11::init()); + pybind11::class_(m, "FCOS") .def(pybind11::init()); + pybind11::class_(m, "TTFNet") .def(pybind11::init()); + pybind11::class_(m, "TOOD") .def(pybind11::init()); + pybind11::class_(m, "GFL") .def(pybind11::init());