transformers/tests/models/dpt
amyeroberts bdf36dcd48
Enable HF pretrained backbones (#31145)
* Enable load HF or tim backbone checkpoints

* Fix up

* Fix test - pass in proper out_indices

* Update docs

* Fix tvp tests

* Fix doc examples

* Fix doc examples

* Try to resolve DPT backbone param init

* Don't conditionally set to None

* Add condition based on whether backbone is defined

* Address review comments
2024-06-06 22:02:38 +01:00
..
__init__.py Move test model folders (#17034) 2022-05-03 14:42:02 +02:00
test_image_processing_dpt.py Add Swinv2 backbone (#27742) 2023-12-22 11:12:56 +00:00
test_modeling_dpt_auto_backbone.py update ruff version (#30932) 2024-05-22 06:40:15 +02:00
test_modeling_dpt_hybrid.py update ruff version (#30932) 2024-05-22 06:40:15 +02:00
test_modeling_dpt.py Enable HF pretrained backbones (#31145) 2024-06-06 22:02:38 +01:00