transformers/tests/models/grounding_dino
Pavel Iakubovskii 099d93d2e9
Grounding DINO Processor standardization (#34853)
* Add input ids to model output

* Add text preprocessing for processor

* Fix snippet

* Add test for equivalence

* Add type checking guard

* Fixing typehint

* Fix test for added `input_ids` in output

* Add deprecations and "text_labels" to output

* Adjust tests

* Fix test

* Update code examples

* Minor docs and code improvement

* Remove one-liner functions and rename class to CamelCase

* Update docstring

* Fixup
2025-01-17 14:18:16 +00:00
..
__init__.py Adding grounding dino (#26087) 2024-04-11 08:32:16 +01:00
test_image_processing_grounding_dino.py [tests] fix "Tester object has no attribute '_testMethodName'" (#34910) 2024-12-13 14:33:45 +01:00
test_modeling_grounding_dino.py Grounding DINO Processor standardization (#34853) 2025-01-17 14:18:16 +00:00
test_processor_grounding_dino.py Grounding DINO Processor standardization (#34853) 2025-01-17 14:18:16 +00:00