Skip to content

An issule about Chinese benchmark evaluation #197

@ZidunGuo

Description

@ZidunGuo

I downloaded best.pth from Google drive. I used the following command python tools/eval_rec_all_ch.py -c configs/rec/svtrv2/svtrv2_smtr_gtc_rctc_ch.yml, using the following configuration files:

Global:
  device: gpu
  epoch_num: 100
  log_smooth_window: 20
  print_batch_step: 10
  output_dir: ./output/rec/ch/svtrv2_smtr_gtc_rctc_ch
  save_epoch_step: [15, 1]
  # evaluation is run every 2000 iterations
  eval_batch_step: [0, 2000]
  eval_epoch_step: [0, 1]
  cal_metric_during_train: False
  pretrained_model: ./output/rec/ch/svtrv2_ch_original/best.pth
  # ./output/rec/u14m_filter/svtrv2_rctc/best.pth
  checkpoints:
  use_tensorboard: false
  infer_img:
  # for data or label process
  character_dict_path: &character_dict_path ./tools/utils/ppocr_keys_v1.txt # ch
  max_text_length: &max_text_length 25
  use_space_char: &use_space_char False
  save_res_path: ./output/rec/ch/predicts_svtrv2_smtr_gtc_rctc_ch.txt
  use_amp: True

Optimizer:
  name: AdamW
  lr: 0.00065 # for 4gpus bs256/gpu
  weight_decay: 0.05
  filter_bias_and_bn: True

LRScheduler:
  name: OneCycleLR
  warmup_epoch: 5
  cycle_momentum: False

Architecture:
  model_type: rec
  algorithm: SVTRv2
  in_channels: 3
  Transform:
  Encoder:
    name: SVTRv2LNConvTwo33
    use_pos_embed: False
    dims: [128, 256, 384]
    depths: [6, 6, 6]
    num_heads: [4, 8, 12]
    mixer: [['Conv','Conv','Conv','Conv','Conv','Conv'],['Conv','Conv','FGlobal','Global','Global','Global'],['Global','Global','Global','Global','Global','Global']]
    local_k: [[5, 5], [5, 5], [-1, -1]]
    sub_k: [[1, 1], [2, 1], [-1, -1]]
    last_stage: false
    feat2d: True
  Decoder:
    name: GTCDecoder
    infer_gtc: False
    detach: False
    gtc_decoder:
      name: SMTRDecoder
      num_layer: 1
      ds: True
      max_len: *max_text_length
      next_mode: &next True
      sub_str_len: &subsl 5
    ctc_decoder:
      name: RCTCDecoder

Loss:
  name: GTCLoss
  ctc_weight: 0.1
  gtc_loss:
    name: SMTRLoss

# PostProcess:
#   name: GTCLabelDecode
#   gtc_label_decode:
#     name: SMTRLabelDecode
#     next_mode: *next
#   character_dict_path: *character_dict_path
#   use_space_char: *use_space_char

# Metric:
#   name: RecGTCMetric
#   main_indicator: acc
#   # is_filter: True

Loss:
  name: CTCLoss
  zero_infinity: True

PostProcess:
  name: CTCLabelDecode
  character_dict_path: *character_dict_path
  use_space_char: *use_space_char

Metric:
  name: RecMetric
  main_indicator: acc
  # is_filter: True

Train:
  dataset:
    name: RatioDataSetTVResize
    ds_width: True
    padding: false
    data_dir_list: ['../benchmark_bctr/benchmark_bctr_train/document_train',
    '../benchmark_bctr/benchmark_bctr_train/handwriting_train',
    '../benchmark_bctr/benchmark_bctr_train/scene_train',
    '../benchmark_bctr/benchmark_bctr_train/web_train'
    ]
    transforms:
      - DecodeImagePIL: # load image
          img_mode: RGB
      - PARSeqAugPIL:
      - GTCLabelEncode: # Class handling label
          gtc_label_encode:
            name: SMTRLabelEncode
            sub_str_len: *subsl
          character_dict_path: *character_dict_path
          use_space_char: *use_space_char
          max_text_length: *max_text_length
      - KeepKeys:
          keep_keys: ['image', 'label', 'label_subs', 'label_next', 'length_subs',
          'label_subs_pre', 'label_next_pre', 'length_subs_pre', 'length', 'ctc_label', 'ctc_length'] # dataloader will return list in this order
  sampler:
    name: RatioSampler
    scales: [[128, 32]] # w, h
    # divide_factor: to ensure the width and height dimensions can be devided by downsampling multiple
    first_bs: &bs 256
    fix_bs: false
    divided_factor: [4, 16] # w, h
    is_training: True
  loader:
    shuffle: True
    batch_size_per_card: *bs
    drop_last: True
    max_ratio: &max_ratio 8
    num_workers: 4

Eval:
  dataset:
    name: RatioDataSetTVResize
    ds_width: True
    padding: False
    data_dir_list: ['../benchmark_bctr/benchmark_bctr_test/scene_test']
    transforms:
      - DecodeImagePIL: # load image
          img_mode: RGB
      - CTCLabelEncode: # Class handling label
          character_dict_path: *character_dict_path
          use_space_char: *use_space_char
          max_text_length: *max_text_length
      - KeepKeys:
          keep_keys: ['image', 'label', 'length'] # dataloader will return list in this order
  sampler:
    name: RatioSampler
    scales: [[128, 32]] # w, h
    # divide_factor: to ensure the width and height dimensions can be devided by downsampling multiple
    first_bs: *bs
    fix_bs: false
    divided_factor: [4, 16] # w, h
    is_training: False
  loader:
    shuffle: False
    drop_last: False
    batch_size_per_card: *bs
    max_ratio: *max_ratio
    num_workers: 4

Output log as below:

[2026/04/07 22:25:39] openrec INFO: ----------- Config -----------
[2026/04/07 22:25:39] openrec INFO: Architecture : 
[2026/04/07 22:25:39] openrec INFO:     Decoder : 
[2026/04/07 22:25:39] openrec INFO:         ctc_decoder : 
[2026/04/07 22:25:39] openrec INFO:             name : RCTCDecoder
[2026/04/07 22:25:39] openrec INFO:         detach : False
[2026/04/07 22:25:39] openrec INFO:         gtc_decoder : 
[2026/04/07 22:25:39] openrec INFO:             ds : True
[2026/04/07 22:25:39] openrec INFO:             max_len : 25
[2026/04/07 22:25:39] openrec INFO:             name : SMTRDecoder
[2026/04/07 22:25:39] openrec INFO:             next_mode : True
[2026/04/07 22:25:39] openrec INFO:             num_layer : 1
[2026/04/07 22:25:39] openrec INFO:             sub_str_len : 5
[2026/04/07 22:25:39] openrec INFO:         infer_gtc : False
[2026/04/07 22:25:39] openrec INFO:         name : GTCDecoder
[2026/04/07 22:25:39] openrec INFO:     Encoder : 
[2026/04/07 22:25:39] openrec INFO:         depths : [6, 6, 6]
[2026/04/07 22:25:39] openrec INFO:         dims : [128, 256, 384]
[2026/04/07 22:25:39] openrec INFO:         feat2d : True
[2026/04/07 22:25:39] openrec INFO:         last_stage : False
[2026/04/07 22:25:39] openrec INFO:         local_k : [[5, 5], [5, 5], [-1, -1]]
[2026/04/07 22:25:39] openrec INFO:         mixer : [['Conv', 'Conv', 'Conv', 'Conv', 'Conv', 'Conv'], ['Conv', 'Conv', 'FGlobal', 'Global', 'Global', 'Global'], ['Global', 'Global', 'Global', 'Global', 'Global', 'Global']]
[2026/04/07 22:25:39] openrec INFO:         name : SVTRv2LNConvTwo33
[2026/04/07 22:25:39] openrec INFO:         num_heads : [4, 8, 12]
[2026/04/07 22:25:39] openrec INFO:         sub_k : [[1, 1], [2, 1], [-1, -1]]
[2026/04/07 22:25:39] openrec INFO:         use_pos_embed : False
[2026/04/07 22:25:39] openrec INFO:     Transform : None
[2026/04/07 22:25:39] openrec INFO:     algorithm : SVTRv2
[2026/04/07 22:25:39] openrec INFO:     in_channels : 3
[2026/04/07 22:25:39] openrec INFO:     model_type : rec
[2026/04/07 22:25:39] openrec INFO: Eval : 
[2026/04/07 22:25:39] openrec INFO:     dataset : 
[2026/04/07 22:25:39] openrec INFO:         data_dir_list : ['../benchmark_bctr/benchmark_bctr_test/scene_test']
[2026/04/07 22:25:39] openrec INFO:         ds_width : True
[2026/04/07 22:25:39] openrec INFO:         name : RatioDataSetTVResize
[2026/04/07 22:25:39] openrec INFO:         padding : False
[2026/04/07 22:25:39] openrec INFO:         transforms : 
[2026/04/07 22:25:39] openrec INFO:             DecodeImagePIL : 
[2026/04/07 22:25:39] openrec INFO:                 img_mode : RGB
[2026/04/07 22:25:39] openrec INFO:             CTCLabelEncode : 
[2026/04/07 22:25:39] openrec INFO:                 character_dict_path : ./tools/utils/ppocr_keys_v1.txt
[2026/04/07 22:25:39] openrec INFO:                 max_text_length : 25
[2026/04/07 22:25:39] openrec INFO:                 use_space_char : False
[2026/04/07 22:25:39] openrec INFO:             KeepKeys : 
[2026/04/07 22:25:39] openrec INFO:                 keep_keys : ['image', 'label', 'length', 'real_ratio']
[2026/04/07 22:25:39] openrec INFO:     loader : 
[2026/04/07 22:25:39] openrec INFO:         batch_size_per_card : 256
[2026/04/07 22:25:39] openrec INFO:         drop_last : False
[2026/04/07 22:25:39] openrec INFO:         max_ratio : 8
[2026/04/07 22:25:39] openrec INFO:         num_workers : 4
[2026/04/07 22:25:39] openrec INFO:         shuffle : False
[2026/04/07 22:25:39] openrec INFO:     sampler : 
[2026/04/07 22:25:39] openrec INFO:         divided_factor : [4, 16]
[2026/04/07 22:25:39] openrec INFO:         first_bs : 256
[2026/04/07 22:25:39] openrec INFO:         fix_bs : False
[2026/04/07 22:25:39] openrec INFO:         is_training : False
[2026/04/07 22:25:39] openrec INFO:         name : RatioSampler
[2026/04/07 22:25:39] openrec INFO:         scales : [[128, 32]]
[2026/04/07 22:25:39] openrec INFO: Global : 
[2026/04/07 22:25:39] openrec INFO:     cal_metric_during_train : False
[2026/04/07 22:25:39] openrec INFO:     character_dict_path : ./tools/utils/ppocr_keys_v1.txt
[2026/04/07 22:25:39] openrec INFO:     checkpoints : None
[2026/04/07 22:25:39] openrec INFO:     device : gpu
[2026/04/07 22:25:39] openrec INFO:     distributed : False
[2026/04/07 22:25:39] openrec INFO:     epoch_num : 100
[2026/04/07 22:25:39] openrec INFO:     eval_batch_step : [0, 2000]
[2026/04/07 22:25:39] openrec INFO:     eval_epoch_step : [0, 1]
[2026/04/07 22:25:39] openrec INFO:     infer_img : None
[2026/04/07 22:25:39] openrec INFO:     log_smooth_window : 20
[2026/04/07 22:25:39] openrec INFO:     max_text_length : 25
[2026/04/07 22:25:39] openrec INFO:     output_dir : ./output/rec/ch/svtrv2_smtr_gtc_rctc_ch
[2026/04/07 22:25:39] openrec INFO:     pretrained_model : ./output/rec/ch/svtrv2_ch_original/best.pth
[2026/04/07 22:25:39] openrec INFO:     print_batch_step : 10
[2026/04/07 22:25:39] openrec INFO:     save_epoch_step : [15, 1]
[2026/04/07 22:25:39] openrec INFO:     save_res_path : ./output/rec/ch/predicts_svtrv2_smtr_gtc_rctc_ch.txt
[2026/04/07 22:25:39] openrec INFO:     use_amp : False
[2026/04/07 22:25:39] openrec INFO:     use_space_char : False
[2026/04/07 22:25:39] openrec INFO:     use_tensorboard : False
[2026/04/07 22:25:39] openrec INFO: LRScheduler : 
[2026/04/07 22:25:39] openrec INFO:     cycle_momentum : False
[2026/04/07 22:25:39] openrec INFO:     name : OneCycleLR
[2026/04/07 22:25:39] openrec INFO:     warmup_epoch : 5
[2026/04/07 22:25:39] openrec INFO: Loss : 
[2026/04/07 22:25:39] openrec INFO:     name : CTCLoss
[2026/04/07 22:25:39] openrec INFO:     zero_infinity : True
[2026/04/07 22:25:39] openrec INFO: Metric : 
[2026/04/07 22:25:39] openrec INFO:     main_indicator : acc
[2026/04/07 22:25:39] openrec INFO:     max_len : 25
[2026/04/07 22:25:39] openrec INFO:     max_ratio : 12
[2026/04/07 22:25:39] openrec INFO:     name : RecMetric
[2026/04/07 22:25:39] openrec INFO:     with_ratio : True
[2026/04/07 22:25:39] openrec INFO: Optimizer : 
[2026/04/07 22:25:39] openrec INFO:     filter_bias_and_bn : True
[2026/04/07 22:25:39] openrec INFO:     lr : 0.00065
[2026/04/07 22:25:39] openrec INFO:     name : AdamW
[2026/04/07 22:25:39] openrec INFO:     weight_decay : 0.05
[2026/04/07 22:25:39] openrec INFO: PostProcess : 
[2026/04/07 22:25:39] openrec INFO:     character_dict_path : ./tools/utils/ppocr_keys_v1.txt
[2026/04/07 22:25:39] openrec INFO:     name : CTCLabelDecode
[2026/04/07 22:25:39] openrec INFO:     use_space_char : False
[2026/04/07 22:25:39] openrec INFO:     with_ratio : True
[2026/04/07 22:25:39] openrec INFO: Train : 
[2026/04/07 22:25:39] openrec INFO:     dataset : 
[2026/04/07 22:25:39] openrec INFO:         data_dir_list : ['../benchmark_bctr/benchmark_bctr_train/document_train', '../benchmark_bctr/benchmark_bctr_train/handwriting_train', '../benchmark_bctr/benchmark_bctr_train/scene_train', '../benchmark_bctr/benchmark_bctr_train/web_train']
[2026/04/07 22:25:39] openrec INFO:         ds_width : True
[2026/04/07 22:25:39] openrec INFO:         name : RatioDataSetTVResize
[2026/04/07 22:25:39] openrec INFO:         padding : False
[2026/04/07 22:25:39] openrec INFO:         transforms : 
[2026/04/07 22:25:39] openrec INFO:             DecodeImagePIL : 
[2026/04/07 22:25:39] openrec INFO:                 img_mode : RGB
[2026/04/07 22:25:39] openrec INFO:             PARSeqAugPIL : None
[2026/04/07 22:25:39] openrec INFO:             GTCLabelEncode : 
[2026/04/07 22:25:39] openrec INFO:                 character_dict_path : ./tools/utils/ppocr_keys_v1.txt
[2026/04/07 22:25:39] openrec INFO:                 gtc_label_encode : 
[2026/04/07 22:25:39] openrec INFO:                     name : SMTRLabelEncode
[2026/04/07 22:25:39] openrec INFO:                     sub_str_len : 5
[2026/04/07 22:25:39] openrec INFO:                 max_text_length : 25
[2026/04/07 22:25:39] openrec INFO:                 use_space_char : False
[2026/04/07 22:25:39] openrec INFO:             KeepKeys : 
[2026/04/07 22:25:39] openrec INFO:                 keep_keys : ['image', 'label', 'label_subs', 'label_next', 'length_subs', 'label_subs_pre', 'label_next_pre', 'length_subs_pre', 'length', 'ctc_label', 'ctc_length']
[2026/04/07 22:25:39] openrec INFO:     loader : 
[2026/04/07 22:25:39] openrec INFO:         batch_size_per_card : 256
[2026/04/07 22:25:39] openrec INFO:         drop_last : True
[2026/04/07 22:25:39] openrec INFO:         max_ratio : 8
[2026/04/07 22:25:39] openrec INFO:         num_workers : 4
[2026/04/07 22:25:39] openrec INFO:         shuffle : True
[2026/04/07 22:25:39] openrec INFO:     sampler : 
[2026/04/07 22:25:39] openrec INFO:         divided_factor : [4, 16]
[2026/04/07 22:25:39] openrec INFO:         first_bs : 256
[2026/04/07 22:25:39] openrec INFO:         fix_bs : False
[2026/04/07 22:25:39] openrec INFO:         is_training : True
[2026/04/07 22:25:39] openrec INFO:         name : RatioSampler
[2026/04/07 22:25:39] openrec INFO:         scales : [[128, 32]]
[2026/04/07 22:25:39] openrec INFO: config : configs/rec/svtrv2/svtrv2_issue_config.yml
[2026/04/07 22:25:39] openrec INFO: filename : svtrv2_issue_config
[2026/04/07 22:25:39] openrec INFO: local_rank : None
[2026/04/07 22:25:39] openrec INFO: ---------------------------------------------
[2026/04/07 22:25:45] openrec INFO: Initialize indexs of datasets:../benchmark_bctr/benchmark_bctr_test/scene_test
[2026/04/07 22:25:48] openrec INFO: 0
[2026/04/07 22:25:48] openrec INFO: 18636
[2026/04/07 22:25:48] openrec INFO: 12730
[2026/04/07 22:25:48] openrec INFO: 9905
[2026/04/07 22:25:48] openrec INFO: 7554
[2026/04/07 22:25:48] openrec INFO: 4494
[2026/04/07 22:25:48] openrec INFO: 2941
[2026/04/07 22:25:48] openrec INFO: 1975
[2026/04/07 22:25:48] openrec INFO: 5411
0 18636 32.0 72 256
0 12730 64.0 49 256
0 9905 96.0 38 256
0 7554 128.0 29 256
0 4494 160.0 22 204
0 2941 192.0 17 170
0 1975 224.0 13 146
0 5411 256.0 42 128
[2026/04/07 22:25:48] openrec INFO: valid dataloader has 290 iters
[2026/04/07 22:26:08] openrec INFO: {'Total': 22269216, 'Trainable': 22269216}
[2026/04/07 22:26:09] openrec INFO: Loading weights using torch.load: ./output/rec/ch/svtrv2_ch_original/best.pth
[2026/04/07 22:26:09] openrec INFO: finetune from checkpoint ./output/rec/ch/svtrv2_ch_original/best.pth
[2026/04/07 22:26:09] openrec INFO: run with torch 2.3.0+cu118 and device cuda:0
[2026/04/07 22:26:09] openrec INFO: metric in ckpt ***************
[2026/04/07 22:26:09] openrec INFO: Initialize indexs of datasets:../benchmark_bctr/benchmark_bctr_test/scene_test
[2026/04/07 22:26:12] openrec INFO: 0
[2026/04/07 22:26:12] openrec INFO: 18636
[2026/04/07 22:26:12] openrec INFO: 12730
[2026/04/07 22:26:12] openrec INFO: 9905
[2026/04/07 22:26:12] openrec INFO: 7554
[2026/04/07 22:26:12] openrec INFO: 4494
[2026/04/07 22:26:12] openrec INFO: 2941
[2026/04/07 22:26:12] openrec INFO: 1975
[2026/04/07 22:26:12] openrec INFO: 5411
0 18636 32.0 72 256
0 12730 64.0 49 256
0 9905 96.0 38 256
0 7554 128.0 29 256
0 4494 160.0 22 204
0 2941 192.0 17 170
0 1975 224.0 13 146
0 5411 256.0 42 128
[2026/04/07 22:26:12] openrec INFO: ../benchmark_bctr/benchmark_bctr_test/scene_test valid dataloader has 290 iters
eval model:: 100%|██████████| 290/290 [01:37<00:00,  2.97it/s]
[2026/04/07 22:27:50] openrec INFO: metric eval ***************
[2026/04/07 22:27:50] openrec INFO: acc:0.764667064581487
[2026/04/07 22:27:50] openrec INFO: acc_real:0.7646513526750068
[2026/04/07 22:27:50] openrec INFO: acc_lower:0.764667064581487
[2026/04/07 22:27:50] openrec INFO: acc_ignore_space:0.7646513526750068
[2026/04/07 22:27:50] openrec INFO: acc_ignore_space_lower:0.764667064581487
[2026/04/07 22:27:50] openrec INFO: acc_ignore_space_symbol:0.7646513526750068
[2026/04/07 22:27:50] openrec INFO: acc_ignore_space_lower_symbol:0.764667064581487
[2026/04/07 22:27:50] openrec INFO: each_len_num:[6134, 11740, 8915, 13063, 5529, 4598, 2936, 2484, 1387, 1249, 1500, 920, 617, 655, 378, 350, 235, 178, 141, 127, 114, 119, 85, 80, 112]
[2026/04/07 22:27:50] openrec INFO: each_len_acc:[0.8465927602761775, 0.8589437812104397, 0.8079641045339718, 0.8092321818807072, 0.711521069431143, 0.7301000419093083, 0.6723433219606835, 0.6960547476004236, 0.6712328718728704, 0.6349079212577429, 0.7193333285377779, 0.6315217322660681, 0.5494327301550611, 0.3389312925354001, 0.4312169198090762, 0.3142857053061227, 0.4255318967858767, 0.37078649602323055, 0.34751770584980807, 0.3149606051212122, 0.29824558787319405, 0.3697478680884144, 0.37647054394464186, 0.37499995312500584, 0.08928570631377622]
[2026/04/07 22:27:50] openrec INFO: each_len_norm_edit_dis:[0.851062384766228, 0.910190232898759, 0.910530406317809, 0.9197350690616133, 0.8946487973809628, 0.887133899042046, 0.8453199591807655, 0.860359432238017, 0.8708443492448934, 0.8637302190140769, 0.9048862810203717, 0.8791178942905247, 0.871934388596714, 0.8710868794672304, 0.8733134954149869, 0.8842086867817125, 0.8610016966247, 0.8890794464049592, 0.8807506439112842, 0.8707479601618388, 0.9178438592610574, 0.9065665870523976, 0.9134981630610288, 0.935625008046874, 0.9197212118889537]
[2026/04/07 22:27:50] openrec INFO: each_ratio_num:[18636, 12730, 9905, 7554, 4494, 2941, 1975, 1448, 970, 759, 536, 1698]
[2026/04/07 22:27:50] openrec INFO: each_ratio_acc:[0.6808327963721653, 0.8408483889702684, 0.8321049966359364, 0.8195657918724308, 0.8206497534030937, 0.8055083277609373, 0.7549367050382951, 0.7106353542083194, 0.682474219768307, 0.6271409667043351, 0.5914178994138451, 0.47762072745806405]
[2026/04/07 22:27:50] openrec INFO: each_ratio_norm_edit_dis:[0.782271576559439, 0.927155449417919, 0.9396814575171256, 0.9455601573721382, 0.9530147525218903, 0.9582186187005312, 0.9559880819654317, 0.9500713840592041, 0.9532485161650048, 0.9469827075561619, 0.9491241262561125, 0.9413835074088104]
[2026/04/07 22:27:50] openrec INFO: norm_edit_dis:0.8947422929143602
[2026/04/07 22:27:50] openrec INFO: num_samples:63646
[2026/04/07 22:27:50] openrec INFO: fps:4862.728983664332
[2026/04/07 22:27:50] openrec INFO: Initialize indexs of datasets:../benchmark_bctr/benchmark_bctr_test/web_test
[2026/04/07 22:27:50] openrec INFO: 0
[2026/04/07 22:27:50] openrec INFO: 4028
[2026/04/07 22:27:50] openrec INFO: 2762
[2026/04/07 22:27:50] openrec INFO: 1752
[2026/04/07 22:27:50] openrec INFO: 1830
[2026/04/07 22:27:50] openrec INFO: 989
[2026/04/07 22:27:50] openrec INFO: 774
[2026/04/07 22:27:50] openrec INFO: 537
[2026/04/07 22:27:50] openrec INFO: 1387
0 4028 32.0 15 256
0 2762 64.0 10 256
0 1752 96.0 6 256
0 1830 128.0 7 256
0 989 160.0 4 204
0 774 192.0 4 170
0 537 224.0 3 146
0 1387 256.0 10 128
[2026/04/07 22:27:50] openrec INFO: ../benchmark_bctr/benchmark_bctr_test/web_test valid dataloader has 67 iters
eval model:: 100%|██████████| 67/67 [00:30<00:00,  2.22it/s]
[2026/04/07 22:28:20] openrec INFO: metric eval ***************
[2026/04/07 22:28:20] openrec INFO: acc:0.788178390505599
[2026/04/07 22:28:20] openrec INFO: acc_real:0.788178390505599
[2026/04/07 22:28:20] openrec INFO: acc_lower:0.788178390505599
[2026/04/07 22:28:20] openrec INFO: acc_ignore_space:0.788178390505599
[2026/04/07 22:28:20] openrec INFO: acc_ignore_space_lower:0.788178390505599
[2026/04/07 22:28:20] openrec INFO: acc_ignore_space_symbol:0.788178390505599
[2026/04/07 22:28:20] openrec INFO: acc_ignore_space_lower_symbol:0.788178390505599
[2026/04/07 22:28:20] openrec INFO: each_len_num:[2197, 2145, 1639, 2509, 1224, 1006, 823, 661, 425, 318, 273, 173, 128, 96, 87, 59, 63, 50, 38, 28, 21, 27, 23, 30, 16]
[2026/04/07 22:28:20] openrec INFO: each_len_acc:[0.8320436921618402, 0.885314681187344, 0.819402069436229, 0.8425667563070276, 0.7671568564774767, 0.7564612250848785, 0.7181044870218167, 0.6959152693507524, 0.703529395211073, 0.7232704175072197, 0.6776556528331263, 0.5838149951552026, 0.5234374591064485, 0.562499941406256, 0.6091953322763985, 0.3220338437230773, 0.4761904006046983, 0.5599998880000223, 0.49999986842108723, 0.3571427295918823, 0.523809274376536, 0.29629618655696793, 0.5652171455577628, 0.33333322222225925, 0.5624996484377197]
[2026/04/07 22:28:20] openrec INFO: each_len_norm_edit_dis:[0.835472614919712, 0.9262082365522537, 0.9222696771063473, 0.9406555450371489, 0.9271280740469617, 0.909294235494093, 0.9051712677147505, 0.9144764602861948, 0.9251491402044528, 0.9359705566161346, 0.9238176381466596, 0.9011042001733158, 0.8649982935140413, 0.9234809107485162, 0.9220785530177908, 0.8638875272241147, 0.8826682906112383, 0.8682339444818661, 0.8349030905379679, 0.8901360936588781, 0.7959184645286224, 0.8116674683767098, 0.9300567411851598, 0.8313633040754798, 0.9700000187499883]
[2026/04/07 22:28:20] openrec INFO: each_ratio_num:[4028, 2762, 1752, 1830, 989, 774, 537, 409, 280, 203, 126, 369]
[2026/04/07 22:28:20] openrec INFO: each_ratio_acc:[0.7291459763427359, 0.8464880490713683, 0.8207762510229666, 0.8633879734241094, 0.8179979694843481, 0.8036175606767757, 0.7895716798962443, 0.7457212531608496, 0.7285714025510214, 0.679802922177196, 0.6349205845301124, 0.5582655675266784]
[2026/04/07 22:28:20] openrec INFO: each_ratio_norm_edit_dis:[0.8131998121403748, 0.929086140362589, 0.9432756269041903, 0.9633725602767652, 0.9589841153897356, 0.9623210910511723, 0.9648852476168723, 0.9544573869473572, 0.9603638523755411, 0.9565979343107031, 0.9465960123354791, 0.9136156868752283]
[2026/04/07 22:28:20] openrec INFO: norm_edit_dis:0.9089245500655146
[2026/04/07 22:28:20] openrec INFO: num_samples:14059
[2026/04/07 22:28:20] openrec INFO: fps:1173.943528644384
[2026/04/07 22:28:20] openrec INFO: Initialize indexs of datasets:../benchmark_bctr/benchmark_bctr_test/document_test
[2026/04/07 22:28:22] openrec INFO: 0
[2026/04/07 22:28:22] openrec INFO: 3101
[2026/04/07 22:28:22] openrec INFO: 3892
[2026/04/07 22:28:22] openrec INFO: 3954
[2026/04/07 22:28:22] openrec INFO: 4304
[2026/04/07 22:28:22] openrec INFO: 4432
[2026/04/07 22:28:22] openrec INFO: 4725
[2026/04/07 22:28:22] openrec INFO: 4718
[2026/04/07 22:28:22] openrec INFO: 20874
0 3101 32.0 12 256
0 3892 64.0 15 256
0 3954 96.0 15 256
0 4304 128.0 16 256
0 4432 160.0 21 204
0 4725 192.0 27 170
0 4718 224.0 32 146
0 20874 256.0 163 128
[2026/04/07 22:28:22] openrec INFO: ../benchmark_bctr/benchmark_bctr_test/document_test valid dataloader has 309 iters
eval model:: 100%|██████████| 309/309 [01:47<00:00,  2.88it/s]
[2026/04/07 22:30:10] openrec INFO: metric eval ***************
[2026/04/07 22:30:10] openrec INFO: acc:0.74729999985054
[2026/04/07 22:30:10] openrec INFO: acc_real:0.74729999985054
[2026/04/07 22:30:10] openrec INFO: acc_lower:0.74729999985054
[2026/04/07 22:30:10] openrec INFO: acc_ignore_space:0.74729999985054
[2026/04/07 22:30:10] openrec INFO: acc_ignore_space_lower:0.74729999985054
[2026/04/07 22:30:10] openrec INFO: acc_ignore_space_symbol:0.74729999985054
[2026/04/07 22:30:10] openrec INFO: acc_ignore_space_lower_symbol:0.74729999985054
[2026/04/07 22:30:10] openrec INFO: each_len_num:[3464, 3267, 3367, 3266, 3340, 3284, 3411, 3358, 3339, 3314, 3290, 3316, 3318, 3334, 3332, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
[2026/04/07 22:30:10] openrec INFO: each_len_acc:[0.9656466484825442, 0.9253137406632576, 0.9094149067139444, 0.8735456188807543, 0.7988023928179568, 0.8035931766029439, 0.6719437095516162, 0.7504466922261861, 0.7226714563561801, 0.6858780908694082, 0.6875379918311915, 0.6565138701552657, 0.6317058449918449, 0.5869826017187084, 0.5357142841064997, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
[2026/04/07 22:30:10] openrec INFO: each_len_norm_edit_dis:[0.9657909931703493, 0.9624528110525881, 0.9695079695985309, 0.9680955297976255, 0.9585129741761089, 0.9656994954933459, 0.9497424301008516, 0.9673540799066287, 0.9673355296975077, 0.9658748012221916, 0.968868011515829, 0.9680879033469868, 0.9677441506623418, 0.9657668467333528, 0.9607442978369019, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]
[2026/04/07 22:30:10] openrec INFO: each_ratio_num:[3101, 3892, 3954, 4304, 4432, 4725, 4718, 4894, 4087, 3762, 2779, 5352]
[2026/04/07 22:30:10] openrec INFO: each_ratio_acc:[0.9951628474841572, 0.9283144888789453, 0.8806272107217319, 0.8385223028844743, 0.78000902351081, 0.7390476174834971, 0.708562948900884, 0.6847159773503965, 0.6638120854812525, 0.633705474126248, 0.6182079862604966, 0.5823991020508238]
[2026/04/07 22:30:10] openrec INFO: each_ratio_norm_edit_dis:[0.996506503289778, 0.9630866736131724, 0.9502240047504993, 0.9615463288638326, 0.9614537420179257, 0.9621740247620162, 0.9629785421901179, 0.9654887489368715, 0.9662039331694239, 0.9659119530440318, 0.9660177365340454, 0.9641428260792184]
[2026/04/07 22:30:10] openrec INFO: norm_edit_dis:0.9647468599804107
[2026/04/07 22:30:10] openrec INFO: num_samples:50000
[2026/04/07 22:30:10] openrec INFO: fps:4300.025986923865
[2026/04/07 22:30:10] openrec INFO: Initialize indexs of datasets:../benchmark_bctr/benchmark_bctr_test/handwriting_test
[2026/04/07 22:30:11] openrec INFO: 0
[2026/04/07 22:30:11] openrec INFO: 1596
[2026/04/07 22:30:11] openrec INFO: 1679
[2026/04/07 22:30:11] openrec INFO: 1994
[2026/04/07 22:30:11] openrec INFO: 2390
[2026/04/07 22:30:11] openrec INFO: 2499
[2026/04/07 22:30:11] openrec INFO: 2399
[2026/04/07 22:30:11] openrec INFO: 2130
[2026/04/07 22:30:11] openrec INFO: 8797
0 1596 32.0 6 256
0 1679 64.0 6 256
0 1994 96.0 7 256
0 2390 128.0 9 256
0 2499 160.0 12 204
0 2399 192.0 14 170
0 2130 224.0 14 146
0 8797 256.0 68 128
[2026/04/07 22:30:11] openrec INFO: ../benchmark_bctr/benchmark_bctr_test/handwriting_test valid dataloader has 144 iters
eval model:: 100%|██████████| 144/144 [00:59<00:00,  2.43it/s]
[2026/04/07 22:31:10] openrec INFO: metric eval ***************
[2026/04/07 22:31:10] openrec INFO: acc:0.4290154997321515
[2026/04/07 22:31:10] openrec INFO: acc_real:0.4290154997321515
[2026/04/07 22:31:10] openrec INFO: acc_lower:0.4290154997321515
[2026/04/07 22:31:10] openrec INFO: acc_ignore_space:0.4290154997321515
[2026/04/07 22:31:10] openrec INFO: acc_ignore_space_lower:0.4290154997321515
[2026/04/07 22:31:10] openrec INFO: acc_ignore_space_symbol:0.4290154997321515
[2026/04/07 22:31:10] openrec INFO: acc_ignore_space_lower_symbol:0.4290154997321515
[2026/04/07 22:31:10] openrec INFO: each_len_num:[685, 1395, 1011, 1759, 1548, 1816, 2326, 2172, 1632, 1665, 1164, 1051, 697, 565, 512, 728, 361, 432, 356, 530, 297, 252, 187, 193, 150]
[2026/04/07 22:31:10] openrec INFO: each_len_acc:[0.4306569280196069, 0.5856630782389743, 0.5341246237969869, 0.6168277395291203, 0.5968992209502635, 0.5985682786422452, 0.6354256206559517, 0.4921731100728678, 0.4895833303334355, 0.4534534507300093, 0.35738831308085645, 0.2683158870759668, 0.22381635259947846, 0.19469026204088033, 0.1249999975585938, 0.07967032857595703, 0.09141273985006261, 0.11805555282278814, 0.05898876238795612, 0.033962263510145974, 0.016835016268181274, 0.03968253810783579, 0.005347593296920144, 0.0051813468817954985, 0.0]
[2026/04/07 22:31:10] openrec INFO: each_len_norm_edit_dis:[0.443600981358623, 0.7075883277489827, 0.7079294456848391, 0.8114095772202097, 0.8537967586656416, 0.8720299684119613, 0.8907577731975501, 0.8658953493857017, 0.8309507462329098, 0.8438833948210311, 0.8630262982128936, 0.8449041947029164, 0.8390292099900512, 0.8046577554517761, 0.827966316152968, 0.8587699522277805, 0.8090713638220896, 0.8283547330918881, 0.8374444186056634, 0.8435176563409462, 0.8119553525028895, 0.7886008609269054, 0.765667686715438, 0.7728912224564323, 0.7607001109200876]
[2026/04/07 22:31:10] openrec INFO: each_ratio_num:[1596, 1679, 1994, 2390, 2499, 2399, 2130, 1878, 1522, 1179, 1066, 3152]
[2026/04/07 22:31:10] openrec INFO: each_ratio_acc:[0.2813283190392962, 0.559261461826912, 0.574724169635285, 0.5648535541219516, 0.5502200858334529, 0.5735723194098694, 0.4971830962573563, 0.43929712226146367, 0.36268068092851063, 0.2917726862445065, 0.25515947227805374, 0.1230964463099732]
[2026/04/07 22:31:10] openrec INFO: each_ratio_norm_edit_dis:[0.36915232197717807, 0.7048612364135798, 0.7953079027536996, 0.8377093194866857, 0.8685511999787917, 0.9014988008708897, 0.8947183444909022, 0.9006480719843837, 0.8824018776703618, 0.8773589248452873, 0.873898290605178, 0.8488590899078406]
[2026/04/07 22:31:10] openrec INFO: norm_edit_dis:0.8207959383916626
[2026/04/07 22:31:10] openrec INFO: num_samples:23484
[2026/04/07 22:31:10] openrec INFO: fps:1752.6475670931627
[76.4667064581487, 78.8178390505599, 74.729999985054, 42.90154997321515, 68.22902386674444, 70.89735362540158]

This result is quite different from the data in the paper.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions