I’ve just got DL1 Lesson1 running on a Paperspace Gradient° Notebook (as opposed to a VM), with their “Paperspace + Fast.AI 0.7.x” public base container. I’m switching between C2 for fiddling and P4000 for training.
I had to tweak lesson1.ipynb and wonder if this could be achieved simpler.
-
added
import sys
sys.path.append ("…/…/")
to getfrom fastai.imports import *
working -
symlinked (
cp -rs /datasets/fastai/dogscats /storage/datasets/fastai
) dogscats dataset to /storage and changed PATH accordingly to “/storage/datasets/fastai/dogscats/”. Otherwise, the first model was failing when trying to create tmp directory under read-only ./dataset.
I could just copy the dataset to /storage, but that would be wasting storage space (unless paperspace has a deduplication file system in the background ;). -
added
%autosave 0
to get rid of .ipynb_checkpoints in dataset folder. Otherwise, the first model was failing encountering such a “class”.