ModuleNotFoundError: No module named 'fastai.vision.all' on Kaggle Notebook

Hello @NoBlueWithoutYellow

I also see this issue intermittently. (It tends to be when I have left the colab notebook for a while and come back to it, Not sure though. I guess its some sort of session related issue with colab.)

I’ve found deleting my copy of the colab notebook and then starting over fixes the issue.
(Make sure you have a copy of any new code in a safe place. etc)

  1. So I go to my google drive, and delete the “Copy of …” version of the notebook there.
  2. Open a new copy from fastai/course-v4 in github
  3. Save that to my google drive
  4. Set the notebook settings to GPU
  5. Click play on the first code cell, and all is fine again.

Hope that helps.

5 Likes