modify cls model path

This commit is contained in:
MissPenguin 2020-09-17 09:56:15 +08:00
parent fd76c1234b
commit b8ed953142
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ def read_params():
#params for text classifier
cfg.use_angle_cls = False
cfg.cls_model_dir = "./inference/ch_ppocr_mobile_v1.1_cls_infer/"
cfg.cls_model_dir = "./inference/ch_ppocr_mobile-v1.1.cls_infer/"
cfg.cls_image_shape = "3, 48, 192"
cfg.label_list = ['0', '180']
cfg.cls_batch_num = 30