To return to your notebook, the basic steps will be:
- Start your instance
- Update the course repo
- Update the fastai library
- When done, shut down your instance
Step by step guide
Start your instance
Sign in to Crestle and click on Start Jupyter. The instance should take a min or two to spin up. Your previous work will be automatically loaded.
Update the course repo
To update the course repo, you will need to be in terminal. On the ‘Jupyter Notebook’ button, launch a new terminal from the jupyter notebook menu.
cd courses/fast-ai/course-v3/ git pull
This should give you the latest of the course notebooks. If you modified some of the notebooks in course-v3/nbs directly, GitHub will probably throw you an error. You should type
git stash to remove your local changes. Remember you should always work on a copy of the lesson notebooks.
Update the fastai library
To update the fastai library, open the terminal like before and type:
conda update conda conda install -c fastai fastai
Stop your instance
Once you’re finished navigate back to the dashboard tab and click Stop Jupyter
It’s not enough to just close your browser or turn off your own computer.
Reconnecting to your instance
In order to reconnect in the future you’ll just follow the exact same steps listed above, some lesson specific actions may need to be taken though due to updates to the fast.ai course throughout the quarter.
If you just created an instance you’re good to go.
If you are a returning user you need to open the terminal and type:
rm -r ~/.datasets/camvid