How do I load very large images?

#1
by abhishek HF staff - opened
Competitions org
โ€ข
edited Mar 2, 2023

Some images in this dataset are quite large and will throw an error when loaded with PIL. To load them, use the following at top of the code:

from PIL import Image

Image.MAX_IMAGE_PIXELS = None
```

Sign up or log in to comment