mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 16:48:03 +08:00
[SOPHGO] Add PaddleDetection YOLOv8 example (#1165)
sophon yolov8s example Co-authored-by: Jason <jiangjiajun@baidu.com>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user