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
bfcc5f73
Commit
bfcc5f73
authored
Apr 25, 2021
by
LDOUBLEV
Browse files
fix hubserving
parent
c09ed866
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
deploy/hubserving/ocr_system/module.py
deploy/hubserving/ocr_system/module.py
+1
-1
No files found.
deploy/hubserving/ocr_system/module.py
View file @
bfcc5f73
...
...
@@ -19,6 +19,7 @@ import paddlehub as hub
from
tools.infer.utility
import
base64_to_cv2
from
tools.infer.predict_system
import
TextSystem
from
tools.infer.utility
import
parse_args
from
deploy.hubserving.ocr_det.params
import
read_params
@
moduleinfo
(
...
...
@@ -58,7 +59,6 @@ class OCRSystem(hub.Module):
sys
.
argv
=
sys
.
argv
[:
1
]
cfg
=
parse_args
()
from
ocr_det.params
import
read_params
update_cfg_map
=
vars
(
read_params
())
for
key
in
update_cfg_map
:
...
...
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