transformers/tests/models/grounding_dino
Yoni Gozlan 5bcbdff159
Modify ProcessorTesterMixin for better generalization (#32637)
* Add padding="max_length" to tokenizer kwargs and change crop_size to size for image_processor kwargs

* remove crop_size argument in align processor tests to be coherent with base tests

* Add pad_token when loading tokenizer if needed, change test override tokenizer kwargs, remove unnecessary test overwrites in grounding dino
2024-08-13 11:48:53 -04:00
..
__init__.py Adding grounding dino (#26087) 2024-04-11 08:32:16 +01:00
test_image_processing_grounding_dino.py Add ViTImageProcessorFast to tests (#31424) 2024-06-25 13:36:58 +01:00
test_modeling_grounding_dino.py Use self.config_tester.run_common_tests() (#31431) 2024-06-19 10:18:08 +01:00
test_processor_grounding_dino.py Modify ProcessorTesterMixin for better generalization (#32637) 2024-08-13 11:48:53 -04:00