transformers/tests/models/upernet
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 Add UperNet (#20648) 2023-01-16 09:39:13 +01:00
test_modeling_upernet.py Enable HF pretrained backbones (#31145) 2024-06-06 22:02:38 +01:00