24 lines
1010 B
YAML
24 lines
1010 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/icdar2013/train_label_json.txt, ./train_data/icdar2015/train_label_json.txt, ./train_data/icdar17_mlt_latin/train_label_json.txt, ./train_data/coco_text_icdar_4pts/train_label_json.txt]
|
|
data_ratio_list: [0.1, 0.45, 0.3, 0.15]
|
|
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/icdar2015/text_localization/
|
|
label_file_path: ./train_data/icdar2015/text_localization/test_icdar2015_label.txt
|
|
max_side_len: 1536
|
|
|
|
TestReader:
|
|
reader_function: ppocr.data.det.dataset_traversal,EvalTestReader
|
|
process_function: ppocr.data.det.sast_process,SASTProcessTest
|
|
max_side_len: 1536
|