Skip to content

πŸ“„ Awesome OCR multiple programing languages toolkits based on ONNX Runtime, OpenVINO, MNN, PaddlePaddle, TensorRT and PyTorch.

fix(rapidocr): fixed key error of torch det model

SWHLff1c13c38712
diff --git a/python/rapidocr/default_models.yaml b/python/rapidocr/default_models.yaml
index fd315db..cfb4a0a 100644
--- a/python/rapidocr/default_models.yaml
+++ b/python/rapidocr/default_models.yaml
@@ -128,7 +128,7 @@ torch:
ch_PP-OCRv4_det_infer.pth: https://www.modelscope.cn/models/RapidAI/RapidOCR/resolve/master/torch/ch_PP-OCRv4_det_infer.pth
ch_PP-OCRv4_det_server_infer.pth: https://www.modelscope.cn/models/RapidAI/RapidOCR/resolve/master/torch/ch_PP-OCRv4_det_server_infer.pth
en_PP-OCRv3_det_infer.pth: https://www.modelscope.cn/models/RapidAI/RapidOCR/resolve/master/torch/en_PP-OCRv3_det_infer.pth
- Multilingual_PP-OCRv3_det_infer.pth: https://www.modelscope.cn/models/RapidAI/RapidOCR/resolve/master/torch/Multilingual_PP-OCRv3_det_infer.pth
+ multi_PP-OCRv3_det_infer.pth: https://www.modelscope.cn/models/RapidAI/RapidOCR/resolve/master/torch/Multilingual_PP-OCRv3_det_infer.pth
rec:
arabic_PP-OCRv4_rec_infer:
model_dir: https://www.modelscope.cn/models/RapidAI/RapidOCR/resolve/master/torch/arabic_PP-OCRv4_rec_infer.pth