在使用paddleOCR进行训练的时候,报错
Traceback (most recent call last):
File "D:\OCR\paddleocr-release-2.7\tools\train.py", line 227, in <module>
main(config, device, logger, vdl_writer)
File "D:\OCR\paddleocr-release-2.7\tools\train.py", line 53, in main
train_dataloader = build_dataloader(config, 'Train', device, logger)
File "D:\OCR\paddleocr-release-2.7\ppocr\data\__init__.py", line 107, in build_dataloader
dataset = eval(module_name)(config, mode, logger, seed)
File "D:\OCR\paddleocr-release-2.7\ppocr\data\simple_dataset.py", line 49, in __init__
self.data_lines = self.get_image_info_list(label_file_list, ratio_list)
File "D:\OCR\paddleocr-release-2.7\ppocr\data\simple_dataset.py", line 83, in get_image_info_list
with open(file, "rb") as f:
报错提示是路径不正确,但是路径我都已经改过来了,不知道为什么还会引用到这个路径,感觉很奇怪
FileNotFoundError: [Errno 2] No such file or directory: './train_data/icdar2015/text_localization/train_icdar2015_label.txt'