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
eff5b5e4
Commit
eff5b5e4
authored
Aug 20, 2020
by
licx
Browse files
fix parameter missing bug of hub serving
parent
70aced82
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
deploy/hubserving/ocr_rec/params.py
deploy/hubserving/ocr_rec/params.py
+2
-0
deploy/hubserving/ocr_system/params.py
deploy/hubserving/ocr_system/params.py
+2
-0
No files found.
deploy/hubserving/ocr_rec/params.py
View file @
eff5b5e4
...
...
@@ -33,6 +33,8 @@ def read_params():
cfg
.
rec_image_shape
=
"3, 32, 320"
cfg
.
rec_char_type
=
'ch'
cfg
.
rec_batch_num
=
30
cfg
.
max_text_length
=
25
cfg
.
rec_char_dict_path
=
"./ppocr/utils/ppocr_keys_v1.txt"
cfg
.
use_space_char
=
True
...
...
deploy/hubserving/ocr_system/params.py
View file @
eff5b5e4
...
...
@@ -33,6 +33,8 @@ def read_params():
cfg
.
rec_image_shape
=
"3, 32, 320"
cfg
.
rec_char_type
=
'ch'
cfg
.
rec_batch_num
=
30
cfg
.
max_text_length
=
25
cfg
.
rec_char_dict_path
=
"./ppocr/utils/ppocr_keys_v1.txt"
cfg
.
use_space_char
=
True
...
...
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