transformers/tests/models/rt_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 New model support RTDETR (#29077) 2024-06-21 17:50:08 +01:00
test_image_processing_rt_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_rt_detr_resnet.py New model support RTDETR (#29077) 2024-06-21 17:50:08 +01:00
test_modeling_rt_detr.py Fix RT-DETR weights initialization (#31724) 2024-07-03 14:29:02 +01:00