How do I load very large images?
#1
by
abhishek
HF staff
- opened
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
```