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
Cannot create .tmp in Google Colab #39
Comments
I was able to overcome this issue when running notebooks in colab by changing the working directory to tmp prior to defining the configs by using this command: |
This is because of a slightly hacky workaround I used to maintain the versions in experiment tracking. If you run multiple experiments with same names, I use a counter stored in the disk to add the version to the name. And for this, the code saves a file in |
Have pushed a new version and have bundled this fix. Now by default it tries to save the file in |
Hmm, no that isn't working still. I get this similar error on the Basic Usage notebook in Colab. I can see the the .pt_tmp file. It is created.
Is there something during fit, which colab doesn't like at the root? (Other files that are being created?) If I do a change directory to say tmp, then the fit will run fine. |
Yes, this fails for me as well. There is no |
Are you guys, by any chance, using one of the tutorial notebooks as a starting point? Because I just noticed something. There is a If we do not do the |
Yes, i was using the tutorial notebooks for testing - removing |
have commented out the chdir from the tutorials and updated the main branch.. |
Trying to fit NODE models on Colab results in an error due to the inability to create
.tmp
in the current directory:There is not an obvious place to pass an alternative location.
Running pytorch_tabular 0.6.0 and pytorch 1.9 on Colab Pro.
The text was updated successfully, but these errors were encountered: