Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bilalzaidi88 opened this issue Mar 7, 2019 · 2 comments
Open

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

bilalzaidi88 opened this issue Mar 7, 2019 · 2 comments

Comments

@bilalzaidi88
Copy link

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'

@iArunava
Copy link
Owner

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.

@grantjohnson13
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants