NameError: name 'timm' is not defined

Make sure that after you connect to the runtime in colab, you first install timm and then import fastai:

If I import fastai before pip installing timm, I get the timm is not defined error as you have when creating the Learner.

1 Like