You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when executing - ! python train.py, there's an error showing up - [Errno 2] No such file or directory: '../data/voc2012/VOCdevkit/VOC2012/train.txt'
I tried to look for the .txt file in the given directory, but I couldn't find it. Did anyone else have this same issue?
I also checked the read_data.py script, but I cant seem to find the directory linked to it. How to resolve this issue.
To be clear here's the entire error:
Traceback (most recent call last):
File "/home/jovyan/Yolov5/yolo/train.py", line 153, in
DataReader = DataReader(params['train_annotations_dir'], img_size=params['img_size'], transforms=transforms,
File "/home/jovyan/Yolov5/yolo/dataset/read_data.py", line 21, in init
self.annotations = self.load_annotations(annotations_dir)
File "/home/jovyan/Yolov5/yolo/dataset/read_data.py", line 65, in load_annotations
with open(annotations_dir, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '../data/voc2012/VOCdevkit/VOC2012/train.txt'
The text was updated successfully, but these errors were encountered:
when executing - ! python train.py, there's an error showing up - [Errno 2] No such file or directory: '../data/voc2012/VOCdevkit/VOC2012/train.txt'
I tried to look for the .txt file in the given directory, but I couldn't find it. Did anyone else have this same issue?
I also checked the read_data.py script, but I cant seem to find the directory linked to it. How to resolve this issue.
To be clear here's the entire error:
Traceback (most recent call last):
File "/home/jovyan/Yolov5/yolo/train.py", line 153, in
DataReader = DataReader(params['train_annotations_dir'], img_size=params['img_size'], transforms=transforms,
File "/home/jovyan/Yolov5/yolo/dataset/read_data.py", line 21, in init
self.annotations = self.load_annotations(annotations_dir)
File "/home/jovyan/Yolov5/yolo/dataset/read_data.py", line 65, in load_annotations
with open(annotations_dir, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '../data/voc2012/VOCdevkit/VOC2012/train.txt'
The text was updated successfully, but these errors were encountered: