-
Notifications
You must be signed in to change notification settings - Fork 26
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
Could not determine dataset/checkpoint directory? #17
Comments
Hello, |
hello,I get the same problem.My solution is finding the get_path.py in this project,and change the the function "_guess_by_env",hope this way will help you. |
Very strange, I have to admit that I still cannot reproduce this error. I heard from a collegue though that he has this problem from time to time when mounting external drives and loading the data from there (but also only when using the Pycharm console, which somehow means that this is not about the mounting but rather about the Pycharm settings). I guess, if you intend to run the code just on one machine, then you could also just hard-code the data and checkpoint paths in the code instead of using environment variables. |
Hello,I have set the environment variables of Checkpoint and Dataset under ~/.bashrc,like this
export IFN_DIR_CHECKPOINT=/home/SGDepth/Checkpoints
export IFN_DIR_DATASET=/home/SGDepth/Dataset
Checkpoint and Dataset is the directory I created under SGDepth.But when I run download_kitti.py to get the kitti dataset, I get an error,like this
ValueError: Could not determine dataset/checkpoint directory. You can use environment variables to specify these directories by adding lines like the following to your ~/.bashrc:
export IFN_DIR_DATASET=<PATH_TO_DATASET>
export IFN_DIR_CHECKPOINT=<PATH_TO_CHECKPOINTS>
I don't know what caused the error.
The text was updated successfully, but these errors were encountered: