🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.
Image transforms add center crop (#19718)
* Add center crop to transforms library * Return PIL images if PIL image input by default * Fixup and add docstring * Trigger CI * Update src/transformers/image_transforms.py Co-authored-by: Sylvain Gugger <[email protected]> * Update src/transformers/image_transforms.py Co-authored-by: Sylvain Gugger <[email protected]> * PR comments - move comments; unindent Co-authored-by: Sylvain Gugger <[email protected]>
A
amyeroberts committed
5041bc3511d098814598cf1cfc6c6bd20e72c144
Parent: 44a40c1
Committed by GitHub <[email protected]>
on 10/19/2022, 3:15:01 PM