det_sast_totaltext_reader.yml 888 字节
Newer Older
L
licx 已提交
1 2 3 4 5
TrainReader:
  reader_function: ppocr.data.det.dataset_traversal,TrainReader
  process_function: ppocr.data.det.sast_process,SASTProcessTrain
  num_workers: 8
  img_set_dir: ./train_data/
L
licx 已提交
6
  label_file_path: [./train_data/art_latin_icdar_14pt/train_no_tt_test/train_label_json.txt, ./train_data/total_text_icdar_14pt/train_label_json.txt]
L
licx 已提交
7 8 9 10 11 12 13 14 15
  data_ratio_list: [0.5, 0.5]
  min_crop_side_ratio: 0.3
  min_crop_size: 24
  min_text_size: 4
  max_text_size: 512

EvalReader:
  reader_function: ppocr.data.det.dataset_traversal,EvalTestReader
  process_function: ppocr.data.det.sast_process,SASTProcessTest
L
licx 已提交
16 17
  img_set_dir: ./train_data/
  label_file_path: ./train_data/total_text_icdar_14pt/test_label_json.txt
L
licx 已提交
18 19 20 21 22 23
  max_side_len: 768
  
TestReader:
  reader_function: ppocr.data.det.dataset_traversal,EvalTestReader
  process_function: ppocr.data.det.sast_process,SASTProcessTest
  max_side_len: 768