fix parameter missing bug of hub serving

This commit is contained in:
licx 2020-08-20 11:30:18 +08:00
parent 70aced8247
commit eff5b5e4b6
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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