PaddleOCR/configs/det/det_sast_totaltext_reader.yml

25 lines
952 B
YAML
Raw Normal View History

2020-08-15 17:26:00 +08:00
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/
2020-08-21 10:47:15 +08:00
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]
2020-08-15 17:26:00 +08:00
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
2020-08-21 10:47:15 +08:00
img_set_dir: ./train_data/
label_file_path: ./train_data/total_text_icdar_14pt/test_label_json.txt
2020-08-15 17:26:00 +08:00
max_side_len: 768
TestReader:
reader_function: ppocr.data.det.dataset_traversal,EvalTestReader
process_function: ppocr.data.det.sast_process,SASTProcessTest
2020-08-17 20:29:28 +08:00
infer_img: ./train_data/afs/total_text/Images/Test/img623.jpg
2020-08-15 17:26:00 +08:00
max_side_len: 768