Merge pull request #2036 from LDOUBLEV/cp_dilation
[cherru-pick] add use_dilation params in hubserving
This commit is contained in:
commit
dcdf083203
|
@ -20,7 +20,8 @@ def read_params():
|
||||||
#DB parmas
|
#DB parmas
|
||||||
cfg.det_db_thresh = 0.3
|
cfg.det_db_thresh = 0.3
|
||||||
cfg.det_db_box_thresh = 0.5
|
cfg.det_db_box_thresh = 0.5
|
||||||
cfg.det_db_unclip_ratio = 2.0
|
cfg.det_db_unclip_ratio = 1.6
|
||||||
|
cfg.use_dilation = False
|
||||||
|
|
||||||
# #EAST parmas
|
# #EAST parmas
|
||||||
# cfg.det_east_score_thresh = 0.8
|
# cfg.det_east_score_thresh = 0.8
|
||||||
|
|
|
@ -20,7 +20,8 @@ def read_params():
|
||||||
#DB parmas
|
#DB parmas
|
||||||
cfg.det_db_thresh = 0.3
|
cfg.det_db_thresh = 0.3
|
||||||
cfg.det_db_box_thresh = 0.5
|
cfg.det_db_box_thresh = 0.5
|
||||||
cfg.det_db_unclip_ratio = 2.0
|
cfg.det_db_unclip_ratio = 1.6
|
||||||
|
cfg.use_dilation = False
|
||||||
|
|
||||||
#EAST parmas
|
#EAST parmas
|
||||||
cfg.det_east_score_thresh = 0.8
|
cfg.det_east_score_thresh = 0.8
|
||||||
|
|
Loading…
Reference in New Issue