Last active
August 15, 2021 04:55
-
-
Save butchland/e67c2e4d18245d0e039b7edf94f5d47f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# colab check to cd to default "/content" directory | |
[ -d "/content" ] && cd /content | |
mkdir -p $HOME/.fastai/data | |
mkdir -p $HOME/.torch/models | |
ln -s $HOME/.fastai/data | |
ln -s $HOME/.torch/models | |
# colab default dir in content | |
[ -d sample_data ] && rm -rf sample_data | |
echo "fastai data model setup done!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment