[SOPHGO] Add PaddleDetection YOLOv8 example (#1165)

sophon yolov8s example

Co-authored-by: Jason <jiangjiajun@baidu.com>
This commit is contained in:
Zilong Xing
2023-01-30 11:47:07 +08:00
committed by GitHub
parent 294607fc4a
commit a709fe4813
8 changed files with 131 additions and 5 deletions

View File

@@ -519,7 +519,6 @@ class PaddleYOLOv8(PPYOLOE):
super(PPYOLOE, self).__init__(runtime_option)
assert model_format == ModelFormat.PADDLE, "PaddleYOLOv8 model only support model format of ModelFormat.Paddle now."
self._model = C.vision.detection.PaddleYOLOv8(
model_file, params_file, config_file, self._runtime_option,
model_format)