Comment Comment by a_bonobo Too often you see articles like this and they start with$ import a_whole_bunch_of_stuffGood 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/ parent a_bonobo 8 years ago
$ 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):
Done!Source: http://docs.fast.ai/