소스 검색

rename yml to yaml in text and formula recognition

liuhongen1234567 10 달 전
부모
커밋
ec942b9aab

+ 0 - 0
paddlex/configs/modules/text_recognition/korean_PP-OCRv3_mobile_rec.yml → paddlex/configs/modules/text_recognition/korean_PP-OCRv3_mobile_rec.yaml


+ 0 - 0
paddlex/repo_apis/PaddleOCR_api/configs/LaTeX_OCR_rec.yml → paddlex/repo_apis/PaddleOCR_api/configs/LaTeX_OCR_rec.yaml


+ 0 - 0
paddlex/repo_apis/PaddleOCR_api/configs/korean_PP-OCRv3_mobile_rec.yml → paddlex/repo_apis/PaddleOCR_api/configs/korean_PP-OCRv3_mobile_rec.yaml


+ 1 - 1
paddlex/repo_apis/PaddleOCR_api/formula_rec/register.py

@@ -39,7 +39,7 @@ register_model_info(
     {
         "model_name": "LaTeX_OCR_rec",
         "suite": "FormulaRec",
-        "config_path": osp.join(PDX_CONFIG_DIR, "LaTeX_OCR_rec.yml"),
+        "config_path": osp.join(PDX_CONFIG_DIR, "LaTeX_OCR_rec.yaml"),
         "supported_apis": ["train", "evaluate", "predict", "export", "infer"],
     }
 )

+ 1 - 1
paddlex/repo_apis/PaddleOCR_api/text_rec/register.py

@@ -57,7 +57,7 @@ register_model_info(
     {
         "model_name": "korean_PP-OCRv3_mobile_rec",
         "suite": "TextRec",
-        "config_path": osp.join(PDX_CONFIG_DIR, "korean_PP-OCRv3_mobile_rec.yml"),
+        "config_path": osp.join(PDX_CONFIG_DIR, "korean_PP-OCRv3_mobile_rec.yaml"),
         "supported_apis": ["train", "evaluate", "predict", "export"],
     }
 )