transformers/tests/models/blip
amyeroberts ba3264b4e8
Image Feature Extraction pipeline (#28216)
* Draft pipeline

* Fixup

* Fix docstrings

* Update doctest

* Update pipeline_model_mapping

* Update docstring

* Update tests

* Update src/transformers/pipelines/image_feature_extraction.py

Co-authored-by: Omar Sanseviero <osanseviero@gmail.com>

* Fix docstrings - review comments

* Remove pipeline mapping for composite vision models

* Add to pipeline tests

* Remove for flava (multimodal)

* safe pil import

* Add requirements for pipeline run

* Account for super slow efficientnet

* Review comments

* Fix tests

* Swap order of kwargs

* Use build_pipeline_init_args

* Add back FE pipeline for Vilt

* Include image_processor_kwargs in docstring

* Mark test as flaky

* Update TODO

* Update tests/pipelines/test_pipelines_image_feature_extraction.py

Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>

* Add license header

---------

Co-authored-by: Omar Sanseviero <osanseviero@gmail.com>
Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
2024-02-05 14:50:07 +00:00
..
__init__.py Add BLIP (#20716) 2022-12-21 09:39:10 +01:00
test_image_processing_blip.py Input data format (#25464) 2023-08-16 17:45:02 +01:00
test_modeling_blip.py Image Feature Extraction pipeline (#28216) 2024-02-05 14:50:07 +00:00
test_modeling_blip_text.py [`core`/ `GC` / `tests`] Stronger GC tests (#27124) 2023-10-30 19:53:46 +01:00
test_modeling_tf_blip.py Add tf_keras imports to prepare for Keras 3 (#28588) 2024-01-30 17:26:36 +00:00
test_modeling_tf_blip_text.py [`core`/ `GC` / `tests`] Stronger GC tests (#27124) 2023-10-30 19:53:46 +01:00
test_processor_blip.py Add BLIP (#20716) 2022-12-21 09:39:10 +01:00