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

OSError:[Errno 2] No such file or directory: #15

Closed
loralyc opened this issue Apr 18, 2018 · 1 comment
Closed

OSError:[Errno 2] No such file or directory: #15

loralyc opened this issue Apr 18, 2018 · 1 comment

Comments

@loralyc
Copy link

loralyc commented Apr 18, 2018

  hello, when i try to run the command cd ../detection && python3 eval.py, it tell me OSError

and i found the function
def eval_yolo(split_id, tid):
in eval.py line 48
settings.DARKNET_RESULTS_OUT is chinese,
and os.path.dirname(settings.DARKNET_RESULTS_OUT means nothing
so it can't mkdir, do you know why ?

@yuantailing
Copy link
Owner

Oh, I made a mistake, I intend to ensure directory settings.DARKNET_RESULTS_DIR exists, it has been checked in main(), so just delete these two lines.

Thank you very mach, I will fix this in next commit.

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

2 participants