YOLOv3-Object-Detection-with-OpenCV icon indicating copy to clipboard operation
YOLOv3-Object-Detection-with-OpenCV copied to clipboard

No such file or directory: './yolov3-coco/coco-labels'

Open bilalzaidi88 opened this issue 5 years ago • 2 comments

Hi, i am using your codes on sublime text on Windows. I am getting this error. I m new to python so I would really appreciate if you could guide me on how to resolve this matter. My python directory is C:\Python37 and i have saved yolov3-coco folder there. I have also added C:\Python37\yolov3-coco to the path but i am still getting the following error. Please help me out. Thank you.

Traceback (most recent call last): File "C:\Python37\yolo.py", line 82, in labels = open(FLAGS.labels).read().strip().split('\n') FileNotFoundError: [Errno 2] No such file or directory: './yolov3-coco/coco-labels'

bilalzaidi88 avatar Mar 07 '19 06:03 bilalzaidi88

When calling, you can add a -l /path/to/labels flag to specify the path in which the labels are stored.

But this is not required if you have made no changes and have just cloned the repo. So, I think, if you still have issues, maybe delete the repo. Clone it again. And cd into the repo. and then run the command in the README.md file.

Check it, if you still face issues, let me know.

iArunava avatar Mar 10 '19 01:03 iArunava

I am having this same problem, did you ever figure it out?

grantjohnson13 avatar Nov 04 '21 23:11 grantjohnson13