Lesson 2-download: Cannot run the code

I cant run the code in lesson2-download file. When I run the code, the only images it can download are of the grizzly bears. Teddy and black bears always get error. I tried it with multiple link downloads, max_pics = 0 as suggested in the file.
I am running it how its mentioned and not all in one go. GPU is enabled.

Is anyone else facing these problems?

This is one warning which I am getting in many cells after “View Data”:

/usr/local/lib/python3.6/dist-packages/torch/nn/functional.py:2693: UserWarning: Default grid_sample and affine_grid behavior will be changed to align_corners=False from 1.4.0. See the documentation of grid_sample for details.

warnings.warn("Default grid_sample and affine_grid behavior will be changed "

Image if it helps:

1 Like

Facing exactly the same issue. Don’t know how to fix it.

1 Like

I re-started my kernel and re-ran the code, it worked. You might want to try that.

Thanks, I tried it but it didn’t help.

I am still facing this same problem. Any help would be great!!