modify dataset path of sast reader yml
This commit is contained in:
parent
11e4e51fdd
commit
d64e0ce355
|
@ -3,7 +3,7 @@ TrainReader:
|
||||||
process_function: ppocr.data.det.sast_process,SASTProcessTrain
|
process_function: ppocr.data.det.sast_process,SASTProcessTrain
|
||||||
num_workers: 8
|
num_workers: 8
|
||||||
img_set_dir: ./train_data/
|
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]
|
data_ratio_list: [0.1, 0.45, 0.3, 0.15]
|
||||||
min_crop_side_ratio: 0.3
|
min_crop_side_ratio: 0.3
|
||||||
min_crop_size: 24
|
min_crop_size: 24
|
||||||
|
|
|
@ -3,7 +3,7 @@ TrainReader:
|
||||||
process_function: ppocr.data.det.sast_process,SASTProcessTrain
|
process_function: ppocr.data.det.sast_process,SASTProcessTrain
|
||||||
num_workers: 8
|
num_workers: 8
|
||||||
img_set_dir: ./train_data/
|
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]
|
data_ratio_list: [0.5, 0.5]
|
||||||
min_crop_side_ratio: 0.3
|
min_crop_side_ratio: 0.3
|
||||||
min_crop_size: 24
|
min_crop_size: 24
|
||||||
|
@ -13,8 +13,8 @@ TrainReader:
|
||||||
EvalReader:
|
EvalReader:
|
||||||
reader_function: ppocr.data.det.dataset_traversal,EvalTestReader
|
reader_function: ppocr.data.det.dataset_traversal,EvalTestReader
|
||||||
process_function: ppocr.data.det.sast_process,SASTProcessTest
|
process_function: ppocr.data.det.sast_process,SASTProcessTest
|
||||||
img_set_dir: ./train_data/afs/
|
img_set_dir: ./train_data/
|
||||||
label_file_path: ./train_data/afs/total_text/test_label_json.txt
|
label_file_path: ./train_data/total_text_icdar_14pt/test_label_json.txt
|
||||||
max_side_len: 768
|
max_side_len: 768
|
||||||
|
|
||||||
TestReader:
|
TestReader:
|
||||||
|
|
Loading…
Reference in New Issue