方向分类器设为默认不启用

This commit is contained in:
WenmuZhou 2020-09-15 16:31:54 +08:00
parent 03979d71d2
commit f3f2b38efb
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ det_db_unclip_ratio 2.0
det_model_dir ../model/det
# cls config
use_angle_cls 1
use_angle_cls 0
cls_model_dir ../model/cls
cls_thresh 0.9

View File

@ -73,7 +73,7 @@ def parse_args():
parser.add_argument("--use_space_char", type=bool, default=True)
# params for text classifier
parser.add_argument("--use_angle_cls", type=str2bool, default=True)
parser.add_argument("--use_angle_cls", type=str2bool, default=False)
parser.add_argument("--cls_model_dir", type=str)
parser.add_argument("--cls_image_shape", type=str, default="3, 48, 192")
parser.add_argument("--label_list", type=list, default=['0', '180'])