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
1f2ea493
Commit
1f2ea493
authored
Jun 04, 2025
by
myhloli
Browse files
refactor: change default value of enable_ocr_det_batch to False in BatchAnalyze constructor
parent
f2115541
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mineru/backend/pipeline/batch_analyze.py
mineru/backend/pipeline/batch_analyze.py
+1
-1
No files found.
mineru/backend/pipeline/batch_analyze.py
View file @
1f2ea493
...
@@ -14,7 +14,7 @@ MFR_BASE_BATCH_SIZE = 16
...
@@ -14,7 +14,7 @@ MFR_BASE_BATCH_SIZE = 16
class
BatchAnalyze
:
class
BatchAnalyze
:
def
__init__
(
self
,
model_manager
,
batch_ratio
:
int
,
formula_enable
,
table_enable
,
enable_ocr_det_batch
:
bool
=
Tru
e
):
def
__init__
(
self
,
model_manager
,
batch_ratio
:
int
,
formula_enable
,
table_enable
,
enable_ocr_det_batch
:
bool
=
Fals
e
):
self
.
batch_ratio
=
batch_ratio
self
.
batch_ratio
=
batch_ratio
self
.
formula_enable
=
formula_enable
self
.
formula_enable
=
formula_enable
self
.
table_enable
=
table_enable
self
.
table_enable
=
table_enable
...
...
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