Update default models (#15329)

This commit is contained in:
Lin Manhui
2025-05-23 11:52:04 +08:00
committed by GitHub
parent 36b8a29567
commit ff90dc7eea
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ from ._object_detection import (
class LayoutDetection(ObjectDetection):
@property
def default_model_name(self):
return "PP-DocLayout-L"
return "PP-DocLayout_plus-L"
@classmethod
def get_cli_subcommand_executor(cls):
+1 -1
View File
@@ -24,7 +24,7 @@ from ._text_detection import TextDetectionMixin, TextDetectionSubcommandExecutor
class TextDetection(TextDetectionMixin, PaddleXPredictorWrapper):
@property
def default_model_name(self):
return "PP-OCRv4_mobile_det"
return "PP-OCRv5_server_det"
@classmethod
def get_cli_subcommand_executor(cls):
+1 -1
View File
@@ -34,7 +34,7 @@ class TextRecognition(PaddleXPredictorWrapper):
@property
def default_model_name(self):
return "PP-OCRv4_mobile_rec"
return "PP-OCRv5_server_rec"
@classmethod
def get_cli_subcommand_executor(cls):