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
Hello. Right now yolov5_2_coco.py script demands that train.txt paths must be absolute paths to the images. That's not very common in yolo like datasets. I suggest to change line 119 to img_path = Path(self.raw_data_dir / img_path) to use relatives paths instead or even check if the path is relative or absolute to treat it properly.
The text was updated successfully, but these errors were encountered:
Hello. Right now yolov5_2_coco.py script demands that train.txt paths must be absolute paths to the images. That's not very common in yolo like datasets. I suggest to change line 119 to
img_path = Path(self.raw_data_dir / img_path)
to use relatives paths instead or even check if the path is relative or absolute to treat it properly.The text was updated successfully, but these errors were encountered: