Chapter 6 Multi Classification "Cannot Allocate memory"

Hello, I am on chapter 6 of the fastbook and everything is going fine but when I try to run the first learn model I get an error saying “Cannot allocate memory”. I don’t know if there is a way to run it where I would have more memory outside my macbook.

Any help would be much appreciated that way I can continue learning! :slight_smile:

I don’t think fastai will work well on a macbook, try to use a notebook server instead, for example colab: https://course.fast.ai/start_colab

2 Likes

Thank you! I will give it a try.