transformers/tests/models/owlvit
Pavel Iakubovskii 94ae9a8da1
OwlViT/Owlv2 post processing standardization (#34929)
* Refactor owlvit post_process_object_detection + add text_labels

* Fix copies in grounding dino

* Sync with Owlv2 postprocessing

* Add post_process_grounded_object_detection method to processor, deprecate post_process_object_detection

* Add test cases

* Move text_labels to processors only

* [run-slow] owlvit owlv2

* [run-slow] owlvit, owlv2

* Update snippets

* Update docs structure

* Update deprecated objects for check_repo

* Update docstring for post processing of image guided object detection
2025-01-17 13:58:28 +00:00
..
__init__.py Add OWL-ViT model for zero-shot object detection (#17938) 2022-07-22 13:35:32 +03:00
test_image_processing_owlvit.py Update kwargs validation for preprocess with decorator (#32024) 2024-08-06 11:33:05 +01:00
test_modeling_owlvit.py OwlViT/Owlv2 post processing standardization (#34929) 2025-01-17 13:58:28 +00:00
test_processor_owlvit.py Remove repeated prepare_images in processor tests (#33163) 2024-09-09 13:20:27 +01:00