Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
13742c38
Unverified
Commit
13742c38
authored
Apr 03, 2025
by
Xiaomeng Zhao
Committed by
GitHub
Apr 03, 2025
Browse files
Merge pull request #2074 from opendatalab/dev
feat(model): update Chinese OCR detection model to PP-OCRv3
parents
c402c010
09bd890e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
1 deletion
+18
-1
magic_pdf/model/sub_modules/ocr/paddleocr2pytorch/pytorchocr/utils/resources/arch_config.yaml
...leocr2pytorch/pytorchocr/utils/resources/arch_config.yaml
+17
-0
magic_pdf/model/sub_modules/ocr/paddleocr2pytorch/pytorchocr/utils/resources/models_config.yml
...eocr2pytorch/pytorchocr/utils/resources/models_config.yml
+1
-1
No files found.
magic_pdf/model/sub_modules/ocr/paddleocr2pytorch/pytorchocr/utils/resources/arch_config.yaml
View file @
13742c38
...
@@ -45,6 +45,23 @@ en_PP-OCRv3_det_infer:
...
@@ -45,6 +45,23 @@ en_PP-OCRv3_det_infer:
name
:
DBHead
name
:
DBHead
k
:
50
k
:
50
ch_PP-OCRv3_det_infer
:
model_type
:
det
algorithm
:
DB
Transform
:
Backbone
:
name
:
MobileNetV3
scale
:
0.5
model_name
:
large
disable_se
:
True
Neck
:
name
:
RSEFPN
out_channels
:
96
shortcut
:
True
Head
:
name
:
DBHead
k
:
50
en_PP-OCRv4_rec_infer
:
en_PP-OCRv4_rec_infer
:
model_type
:
rec
model_type
:
rec
algorithm
:
SVTR_LCNet
algorithm
:
SVTR_LCNet
...
...
magic_pdf/model/sub_modules/ocr/paddleocr2pytorch/pytorchocr/utils/resources/models_config.yml
View file @
13742c38
lang
:
lang
:
ch
:
ch
:
det
:
ch_PP-OCRv
4
_det_infer.pth
det
:
ch_PP-OCRv
3
_det_infer.pth
rec
:
ch_PP-OCRv4_rec_infer.pth
rec
:
ch_PP-OCRv4_rec_infer.pth
dict
:
ppocr_keys_v1.txt
dict
:
ppocr_keys_v1.txt
en
:
en
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment