transformers/tests/models/dpt
NielsRogge 2422c38de6
Add DINOv2 depth estimation (#26092)
* First draft

* Fix style

* More improvements

* Fix tests

* Fix tests

* Convert checkpoint

* Improve DPTImageProcessor

* Remove scripts, improve conversion script

* Remove print statements

* Fix test

* Improve docstring

* More improvements

* Fix style

* Fix image processor

* Add tests

* Address comments

* Address comments

* Make bias backwards compatible

* Address comment

* Address comment

* Address comment

* Apply suggestions from code review

Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>

* Address comments

* Add flag

* Add tests

* Make tests smaller

* Use regular BackboneOutput

* Fix all tests

* Update test

* Convert more checkpoints

* Convert giant checkpoints, add integration test

* Rename size_divisibility to size_divisor

---------

Co-authored-by: amyeroberts <22614925+amyeroberts@users.noreply.github.com>
2023-11-13 16:20:42 +00:00
..
__init__.py
test_image_processing_dpt.py Add DINOv2 depth estimation (#26092) 2023-11-13 16:20:42 +00:00
test_modeling_dpt_auto_backbone.py Add DINOv2 depth estimation (#26092) 2023-11-13 16:20:42 +00:00
test_modeling_dpt_hybrid.py [core/ GC / tests] Stronger GC tests (#27124) 2023-10-30 19:53:46 +01:00
test_modeling_dpt.py [core/ GC / tests] Stronger GC tests (#27124) 2023-10-30 19:53:46 +01:00