transformers/tests/models/oneformer
amyeroberts 27c79a0fb4
Enable instantiating model with pretrained backbone weights (#28214)
* Enable instantiating model with pretrained backbone weights

* Update tests so backbone checkpoint isn't passed in

* Remove doc updates until changes made in modeling code

* Clarify pretrained import

* Update configs - docs and validation check

* Update src/transformers/utils/backbone_utils.py

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

* Clarify exception message

* Update config init in tests

* Add test for when use_timm_backbone=True

* Small test updates

---------

Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
2024-01-23 11:01:50 +00:00
..
__init__.py Add OneFormer Model (#20577) 2023-01-19 09:31:07 +01:00
test_image_processing_oneformer.py Update metadata loading for oneformer (#28398) 2024-01-12 12:35:31 +00:00
test_modeling_oneformer.py Enable instantiating model with pretrained backbone weights (#28214) 2024-01-23 11:01:50 +00:00
test_processor_oneformer.py [`Styling`] stylify using ruff (#27144) 2023-11-16 17:43:19 +01:00