When I’m running the following code on lesson1-pets using resnet50,
data = ImageDataBunch.from_name_re(path_img, fnames, pat, ds_tfms=get_transforms(), size=320, bs=bs//2)
learn = ConvLearner(data, models.resnet50, metrics=error_rate)
I get the error: “RuntimeError: CUDA error: out of memory”
I have tried decreasing size=100 and bs=10, but I still get the same error. I’ve restarted the Jupyter notebook kernel and Google Cloud Platform.
I believe I’m on Google Cloud Platform as there’s a green check mark next to my-fastai-instance on GCP and a green jupyter@my-fastai-instance on my terminal command line. This is the link to the my notebook.
What could still be the issue?