yuantailing / ctw-baseline

Baseline methods for [CTW dataset](https://ctwdataset.github.io/)
MIT License
329 stars 88 forks source link

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

Closed loralyc closed 6 years ago

loralyc commented 6 years ago
  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 commented 6 years ago

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.