diff --git a/configs/rec/rec_mv3_none_bilstm_ctc.yml b/configs/rec/rec_mv3_none_bilstm_ctc.yml index d2e096fb1c51588a6bd2c7ca8321cf817d435f23..55feaaf883e18791bc76430a7afaaacb7f5812b6 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 ceec09ce6f3b6cb2238d6fb2e15f510cb31e0fd8..0cf377834e733756b356525896ba57a242fa3f62 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 7fc4f6799459bf9fbcd25e1609aeca5e3fd12a74..d02edaba238af701a8b81b240ee9a89cbc1ed995 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 4b9660bcdec60989a6d9b9926c40814a83db6f39..509d616bc0e9456c1fb86c94e5eef1c2f9515aad 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 b71e8feae7ac8f235bf471101efd4383c61bfab2..7332f0f8679c32afd4435dbddef29f651c994b26 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 d9c9458d6d8fcdb9df590b0093d54b71e3e53fcc..b42b5535471f078b79002b8ea930a7c846207a86 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 dfcd97fad67081a7ed04ad1d67ff298c9f553b0c..73ed68481f8ca189491375321c3848998b74410f 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 574a088cc024541e086bedc0bc0a52082e9e7eb2..9a621a1462df156272938740ceddef1aa850f95a 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 30709e479f8da56b6bd7fe9ebf817a27bff9cc38..e7040d9a1d6a311d61fe3f8b6396ccfdfd8c0b95 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