Awesome multilingual OCR toolkits based on PaddlePaddle (practical ultra lightweight OCR system, support 80+ languages recognition, provide data annotation and synthesis tools, support training and deployment among server, mobile, embedded and IoT devices)
Traceback (most recent call last):
File "f:/paddleOCR_OK/main_multiprocessing.py", line 1582, in <module>
OCR_train.main(config, device, logger, vdl_writer)
File "f:\paddleOCR_OK\OCR_train.py", line 55, in main
train_dataloader = build_dataloader(config, 'Train', device, logger)
File "f:\paddleOCR_OK\ppocr\data\__init__.py", line 64, in build_dataloader
dataset = eval(module_name)(config, mode, logger, seed)
File "f:\paddleOCR_OK\ppocr\data\simple_dataset.py", line 39, in __init__
assert len(
AssertionError: The length of ratio_list should be the same as the file_list.
比如
\configs\det\det_r50_vd_db.yml
修改yml
输出config 也正常
'data_dir': 'D:/OK/', 'label_file_list': 'D:/OK/Label.txt',
但就是报错:
只要修改label_file_list这个值 就会报错
如果在yml写死的话 不会报错
YML中 这个值是带 - 我直接传”- D:/OK/Label.txt“ 也是报错
直接改为
label_file_list: D:/OK/Label.txt
也是报同样的错误输出我看了 是正常的