From d64e0ce35525771c71ecf2cd7731dd81848e92a1 Mon Sep 17 00:00:00 2001 From: licx Date: Fri, 21 Aug 2020 10:47:15 +0800 Subject: [PATCH] modify dataset path of sast reader yml --- configs/det/det_sast_icdar15_reader.yml | 2 +- configs/det/det_sast_totaltext_reader.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/det/det_sast_icdar15_reader.yml b/configs/det/det_sast_icdar15_reader.yml index cfa5b8b6..ee45a85d 100644 --- a/configs/det/det_sast_icdar15_reader.yml +++ b/configs/det/det_sast_icdar15_reader.yml @@ -3,7 +3,7 @@ TrainReader: process_function: ppocr.data.det.sast_process,SASTProcessTrain num_workers: 8 img_set_dir: ./train_data/ - label_file_path: [./train_data/icdar13/train_label_json.txt, ./train_data/icdar15/train_label_json.txt, ./train_data/icdar17_mlt_latin/train_label_json.txt, ./train_data/coco_text_icdar_4pts/train_label_json.txt] + 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 diff --git a/configs/det/det_sast_totaltext_reader.yml b/configs/det/det_sast_totaltext_reader.yml index c1a3d251..92503d9f 100644 --- a/configs/det/det_sast_totaltext_reader.yml +++ b/configs/det/det_sast_totaltext_reader.yml @@ -3,7 +3,7 @@ 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/train_label_json.txt] + 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 @@ -13,8 +13,8 @@ TrainReader: EvalReader: reader_function: ppocr.data.det.dataset_traversal,EvalTestReader process_function: ppocr.data.det.sast_process,SASTProcessTest - img_set_dir: ./train_data/afs/ - label_file_path: ./train_data/afs/total_text/test_label_json.txt + img_set_dir: ./train_data/ + label_file_path: ./train_data/total_text_icdar_14pt/test_label_json.txt max_side_len: 768 TestReader: -- GitLab