24 lines
888 B
YAML
24 lines
888 B
YAML
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/
|
|
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]
|
|
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
|
|
img_set_dir: ./train_data/
|
|
label_file_path: ./train_data/total_text_icdar_14pt/test_label_json.txt
|
|
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
|