Skip to content

Commit

Permalink
fix hub serving parmas bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MissPenguin committed Aug 26, 2020
1 parent fb9e47b commit 8a78af2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion deploy/hubserving/ocr_det/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,6 @@ def read_params():
# cfg.rec_char_dict_path = "./ppocr/utils/ppocr_keys_v1.txt"
# cfg.use_space_char = True

return cfg
cfg.use_zero_copy_run = False

return cfg
4 changes: 3 additions & 1 deletion deploy/hubserving/ocr_rec/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,6 @@ def read_params():
cfg.rec_char_dict_path = "./ppocr/utils/ppocr_keys_v1.txt"
cfg.use_space_char = True

return cfg
cfg.use_zero_copy_run = False

return cfg
4 changes: 3 additions & 1 deletion deploy/hubserving/ocr_system/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,6 @@ def read_params():
cfg.rec_char_dict_path = "./ppocr/utils/ppocr_keys_v1.txt"
cfg.use_space_char = True

return cfg
cfg.use_zero_copy_run = False

return cfg

0 comments on commit 8a78af2

Please sign in to comment.