方向分类器设为默认不启用
This commit is contained in:
parent
03979d71d2
commit
f3f2b38efb
|
@ -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
|
||||
|
||||
|
|
|
@ -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'])
|
||||
|
|
Loading…
Reference in New Issue