2020-05-10 16:26:57 +08:00
|
|
|
TrainReader:
|
|
|
|
reader_function: ppocr.data.det.dataset_traversal,TrainReader
|
|
|
|
process_function: ppocr.data.det.db_process,DBProcessTrain
|
|
|
|
num_workers: 8
|
|
|
|
img_set_dir: ./train_data/icdar2015/text_localization/
|
|
|
|
label_file_path: ./train_data/icdar2015/text_localization/train_icdar2015_label.txt
|
|
|
|
|
|
|
|
EvalReader:
|
|
|
|
reader_function: ppocr.data.det.dataset_traversal,EvalTestReader
|
|
|
|
process_function: ppocr.data.det.db_process,DBProcessTest
|
|
|
|
img_set_dir: ./train_data/icdar2015/text_localization/
|
|
|
|
label_file_path: ./train_data/icdar2015/text_localization/test_icdar2015_label.txt
|
|
|
|
test_image_shape: [736, 1280]
|
|
|
|
|
|
|
|
TestReader:
|
|
|
|
reader_function: ppocr.data.det.dataset_traversal,EvalTestReader
|
|
|
|
process_function: ppocr.data.det.db_process,DBProcessTest
|
2020-05-20 20:12:53 +08:00
|
|
|
infer_img:
|
2020-05-10 16:26:57 +08:00
|
|
|
img_set_dir: ./train_data/icdar2015/text_localization/
|
|
|
|
label_file_path: ./train_data/icdar2015/text_localization/test_icdar2015_label.txt
|
|
|
|
test_image_shape: [736, 1280]
|
|
|
|
do_eval: True
|