You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🚨Fix MobileViT image processor default interpolation to BICUBIC (#43024)
* Fix MobileViT image processor default interpolation to BICUBIC
The original MobileViT implementation (Apple's ml-cvnets) and timm both
use BICUBIC interpolation for image preprocessing. Updates both slow and
fast image processors to match.
Contributes to #28180
* Remove copy substitution - code now matches source
---------
Co-authored-by: Yoni Gozlan <[email protected]>
# Copied from transformers.models.mobilenet_v1.image_processing_mobilenet_v1.MobileNetV1ImageProcessor.resize with PILImageResampling.BICUBIC->PILImageResampling.BILINEAR
140
+
# Copied from transformers.models.mobilenet_v1.image_processing_mobilenet_v1.MobileNetV1ImageProcessor.resize
0 commit comments