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
paddle_dbnet
Commits
c0ce890f
Commit
c0ce890f
authored
Jan 10, 2022
by
WenmuZhou
Browse files
add hit
parent
abfcf844
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
paddleocr.py
paddleocr.py
+1
-1
No files found.
paddleocr.py
View file @
c0ce890f
...
...
@@ -398,7 +398,7 @@ class PPStructure(OCRSystem):
def
__init__
(
self
,
**
kwargs
):
params
=
parse_args
(
mMain
=
False
)
params
.
__dict__
.
update
(
**
kwargs
)
assert
params
.
structure_version
in
SUPPORT_STRUCTURE_MODEL_VERSION
,
"
ocr
_version must in {}, but get {}"
.
format
(
assert
params
.
structure_version
in
SUPPORT_STRUCTURE_MODEL_VERSION
,
"
structure
_version must in {}, but get {}"
.
format
(
SUPPORT_STRUCTURE_MODEL_VERSION
,
params
.
structure_version
)
params
.
use_gpu
=
check_gpu
(
params
.
use_gpu
)
...
...
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