diff --git a/configs/rec/rec_mv3_none_bilstm_ctc.yml b/configs/rec/rec_mv3_none_bilstm_ctc.yml index d2e096fb1..55feaaf88 100755 --- a/configs/rec/rec_mv3_none_bilstm_ctc.yml +++ b/configs/rec/rec_mv3_none_bilstm_ctc.yml @@ -12,6 +12,7 @@ Global: image_shape: [3, 32, 100] max_text_length: 25 character_type: en + character_dict_path: loss_type: ctc reader_yml: ./configs/rec/rec_benchmark_reader.yml pretrain_weights: diff --git a/configs/rec/rec_mv3_none_none_ctc.yml b/configs/rec/rec_mv3_none_none_ctc.yml index ceec09ce6..0cf377834 100755 --- a/configs/rec/rec_mv3_none_none_ctc.yml +++ b/configs/rec/rec_mv3_none_none_ctc.yml @@ -12,6 +12,7 @@ Global: image_shape: [3, 32, 100] max_text_length: 25 character_type: en + character_dict_path: loss_type: ctc reader_yml: ./configs/rec/rec_benchmark_reader.yml pretrain_weights: diff --git a/configs/rec/rec_mv3_tps_bilstm_attn.yml b/configs/rec/rec_mv3_tps_bilstm_attn.yml index 7fc4f6799..d02edaba2 100755 --- a/configs/rec/rec_mv3_tps_bilstm_attn.yml +++ b/configs/rec/rec_mv3_tps_bilstm_attn.yml @@ -12,6 +12,7 @@ Global: image_shape: [3, 32, 100] max_text_length: 25 character_type: en + character_dict_path: loss_type: attention tps: true reader_yml: ./configs/rec/rec_benchmark_reader.yml diff --git a/configs/rec/rec_mv3_tps_bilstm_ctc.yml b/configs/rec/rec_mv3_tps_bilstm_ctc.yml index 4b9660bcd..509d616bc 100755 --- a/configs/rec/rec_mv3_tps_bilstm_ctc.yml +++ b/configs/rec/rec_mv3_tps_bilstm_ctc.yml @@ -12,6 +12,7 @@ Global: image_shape: [3, 32, 100] max_text_length: 25 character_type: en + character_dict_path: loss_type: ctc tps: true reader_yml: ./configs/rec/rec_benchmark_reader.yml diff --git a/configs/rec/rec_r34_vd_none_bilstm_ctc.yml b/configs/rec/rec_r34_vd_none_bilstm_ctc.yml index b71e8feae..7332f0f86 100755 --- a/configs/rec/rec_r34_vd_none_bilstm_ctc.yml +++ b/configs/rec/rec_r34_vd_none_bilstm_ctc.yml @@ -12,6 +12,7 @@ Global: image_shape: [3, 32, 100] max_text_length: 25 character_type: en + character_dict_path: loss_type: ctc reader_yml: ./configs/rec/rec_benchmark_reader.yml pretrain_weights: diff --git a/configs/rec/rec_r34_vd_none_none_ctc.yml b/configs/rec/rec_r34_vd_none_none_ctc.yml index d9c9458d6..b42b55354 100755 --- a/configs/rec/rec_r34_vd_none_none_ctc.yml +++ b/configs/rec/rec_r34_vd_none_none_ctc.yml @@ -12,6 +12,7 @@ Global: image_shape: [3, 32, 100] max_text_length: 25 character_type: en + character_dict_path: loss_type: ctc reader_yml: ./configs/rec/rec_benchmark_reader.yml pretrain_weights: diff --git a/configs/rec/rec_r34_vd_tps_bilstm_attn.yml b/configs/rec/rec_r34_vd_tps_bilstm_attn.yml index dfcd97fad..73ed68481 100755 --- a/configs/rec/rec_r34_vd_tps_bilstm_attn.yml +++ b/configs/rec/rec_r34_vd_tps_bilstm_attn.yml @@ -12,6 +12,7 @@ Global: image_shape: [3, 32, 100] max_text_length: 25 character_type: en + character_dict_path: loss_type: attention tps: true reader_yml: ./configs/rec/rec_benchmark_reader.yml diff --git a/configs/rec/rec_r34_vd_tps_bilstm_ctc.yml b/configs/rec/rec_r34_vd_tps_bilstm_ctc.yml index 574a088cc..9a621a146 100755 --- a/configs/rec/rec_r34_vd_tps_bilstm_ctc.yml +++ b/configs/rec/rec_r34_vd_tps_bilstm_ctc.yml @@ -12,6 +12,7 @@ Global: image_shape: [3, 32, 100] max_text_length: 25 character_type: en + character_dict_path: loss_type: ctc tps: true reader_yml: ./configs/rec/rec_benchmark_reader.yml diff --git a/configs/rec/rec_r50fpn_vd_none_srn.yml b/configs/rec/rec_r50fpn_vd_none_srn.yml index 30709e479..e7040d9a1 100755 --- a/configs/rec/rec_r50fpn_vd_none_srn.yml +++ b/configs/rec/rec_r50fpn_vd_none_srn.yml @@ -12,6 +12,7 @@ Global: image_shape: [1, 64, 256] max_text_length: 25 character_type: en + character_dict_path: loss_type: srn num_heads: 8 average_window: 0.15