Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Data] Raise error if PIL can't load image (ray-project#38030)
If you call read_images and PIL can't load a file, you get an unhelpful error message: > PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x19997c350> This PR updates the error message to include the path to the file
- Loading branch information