transformers/tests/models/oneformer
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 OneFormer Model (#20577) 2023-01-19 09:31:07 +01:00
test_image_processing_oneformer.py Fix OneFormer post_process_instance_segmentation for panoptic tasks (#29304) 2024-03-04 11:04:49 +00:00
test_modeling_oneformer.py Enable HF pretrained backbones (#31145) 2024-06-06 22:02:38 +01:00
test_processor_oneformer.py [Styling] stylify using ruff (#27144) 2023-11-16 17:43:19 +01:00