23 lines
964 B
YAML
23 lines
964 B
YAML
|
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
|
||
|
single_img_path:
|
||
|
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
|