transformers/tests/models/tvp
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 TVP model (#25856) 2023-11-21 16:41:55 +00:00
test_image_processing_tvp.py TVP model (#25856) 2023-11-21 16:41:55 +00:00
test_modeling_tvp.py Enable instantiating model with pretrained backbone weights (#28214) 2024-01-23 11:01:50 +00:00