$ import a_whole_bunch_of_stuff
Good to see that this is not the case here :)
The fast.ai course has a similar exercise in the beginning, but you'll still import the weights from somewhere else.
Their fast.ai v1 library has a very short implementation too (loading the MINIST example dataset and then using Resnet18):
from fastai import *
from fastai.data import *
untar_data(MNIST_PATH)
data = image_data_from_folder(MNIST_PATH)
learn = ConvLearner(data, tvm.resnet18, metrics=accuracy)
learn.fit(1)
Done!Source: http://docs.fast.ai/