transformers
c6318c37
- to_pil - don't rescale if int and in range 0-255 (#22158)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
2 years ago
to_pil - don't rescale if int and in range 0-255 (#22158) * Don't rescale if in and in range 0-255 * Raise value error if int values too large * Update tests/test_image_transforms.py * Update tests/test_image_transforms.py
References
#22158 - to_pil - don't rescale if int and in range 0-255
Author
amyeroberts
Parents
3b22bfbc
Loading