mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2025-06-03 21:53:39 +08:00
change rec_batch_num from 30 to 6 in hubserving
This commit is contained in:
parent
a500320111
commit
cc5b6381fa
@ -29,7 +29,7 @@ def read_params():
|
||||
cfg.rec_model_dir = "./inference/ch_PP-OCRv2_rec_infer/"
|
||||
|
||||
cfg.rec_image_shape = "3, 32, 320"
|
||||
cfg.rec_batch_num = 30
|
||||
cfg.rec_batch_num = 6
|
||||
cfg.max_text_length = 25
|
||||
|
||||
cfg.rec_char_dict_path = "./ppocr/utils/ppocr_keys_v1.txt"
|
||||
|
@ -47,7 +47,7 @@ def read_params():
|
||||
cfg.rec_model_dir = "./inference/ch_PP-OCRv2_rec_infer/"
|
||||
|
||||
cfg.rec_image_shape = "3, 32, 320"
|
||||
cfg.rec_batch_num = 30
|
||||
cfg.rec_batch_num = 6
|
||||
cfg.max_text_length = 25
|
||||
|
||||
cfg.rec_char_dict_path = "./ppocr/utils/ppocr_keys_v1.txt"
|
||||
|
Loading…
x
Reference in New Issue
Block a user