mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2025-11-02 18:59:20 +00:00
fix hub serving parmas bug
This commit is contained in:
parent
fb9e47b262
commit
8a78af26df
@ -36,4 +36,6 @@ def read_params():
|
|||||||
# cfg.rec_char_dict_path = "./ppocr/utils/ppocr_keys_v1.txt"
|
# cfg.rec_char_dict_path = "./ppocr/utils/ppocr_keys_v1.txt"
|
||||||
# cfg.use_space_char = True
|
# cfg.use_space_char = True
|
||||||
|
|
||||||
return cfg
|
cfg.use_zero_copy_run = False
|
||||||
|
|
||||||
|
return cfg
|
||||||
|
|||||||
@ -38,4 +38,6 @@ def read_params():
|
|||||||
cfg.rec_char_dict_path = "./ppocr/utils/ppocr_keys_v1.txt"
|
cfg.rec_char_dict_path = "./ppocr/utils/ppocr_keys_v1.txt"
|
||||||
cfg.use_space_char = True
|
cfg.use_space_char = True
|
||||||
|
|
||||||
return cfg
|
cfg.use_zero_copy_run = False
|
||||||
|
|
||||||
|
return cfg
|
||||||
|
|||||||
@ -38,4 +38,6 @@ def read_params():
|
|||||||
cfg.rec_char_dict_path = "./ppocr/utils/ppocr_keys_v1.txt"
|
cfg.rec_char_dict_path = "./ppocr/utils/ppocr_keys_v1.txt"
|
||||||
cfg.use_space_char = True
|
cfg.use_space_char = True
|
||||||
|
|
||||||
return cfg
|
cfg.use_zero_copy_run = False
|
||||||
|
|
||||||
|
return cfg
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user