直接运行train时,报错:
Traceback (most recent call last):
File "G:/code/SLPNet_pytorch-master/load_data.py", line 194, in
lp_dataset = LPDataSet(cfg.val_img_folder_path, cfg.val_txt_folder_path)
File "G:/code/SLPNet_pytorch-master/load_data.py", line 135, in init
self.gt_labels = self._data_init()
File "G:/code/SLPNet_pytorch-master/load_data.py", line 141, in _data_init
gt_labels.append(self.label_loader(self.img_names[i], self.txt_path))
File "G:/code/SLPNet_pytorch-master/load_data.py", line 108, in read_txt_info
with open(txt_path, "r", encoding='utf-8') as f_txt:FileNotFoundError: [Errno 2] No such file or directory: './data/val/label\01375-90_90-205&545_420&619-395&613_222&611_223&547_396&549-0_0_27_16_32_24_29-185-21.txt'
直接运行train时,报错: Traceback (most recent call last): File "G:/code/SLPNet_pytorch-master/load_data.py", line 194, in
lp_dataset = LPDataSet(cfg.val_img_folder_path, cfg.val_txt_folder_path)
File "G:/code/SLPNet_pytorch-master/load_data.py", line 135, in init
self.gt_labels = self._data_init()
File "G:/code/SLPNet_pytorch-master/load_data.py", line 141, in _data_init
gt_labels.append(self.label_loader(self.img_names[i], self.txt_path))
File "G:/code/SLPNet_pytorch-master/load_data.py", line 108, in read_txt_info
with open(txt_path, "r", encoding='utf-8') as f_txt:FileNotFoundError: [Errno 2] No such file or directory: './data/val/label\01375-90_90-205&545_420&619-395&613_222&611_223&547_396&549-0_0_27_16_32_24_29-185-21.txt'
请问该怎么解决呀,谢谢LZ