transformers/tests/models/detr
Yoni Gozlan 5615a39369
Fall back to slow image processor in ImageProcessingAuto when no fast processor available (#34785)
* refactor image_processing_auto logic

* fix fast image processor tests

* Fix tests fast vit image processor

* Add safeguard when use_fast True and torchvision not available

* change default use_fast back to None, add warnings

* remove debugging print

* call get_image_processor_class_from_name once
2024-12-15 14:00:36 -05:00
..
__init__.py Move test model folders (#17034) 2022-05-03 14:42:02 +02:00
test_image_processing_detr.py Fall back to slow image processor in ImageProcessingAuto when no fast processor available (#34785) 2024-12-15 14:00:36 -05:00
test_modeling_detr.py Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00