Depth Anything: update conversion script for V2 (#31522)

* Depth Anything: update conversion script for V2

* Update docs

* Style

* Revert "Update docs"

This reverts commit be0ca47ea1be4f3cd9aa2113bdd8efcc9959119e.

* Add docs for depth anything v2

* Add depth_anything_v2 to MODEL_NAMES_MAPPING

Done similarly to Flan-T5: https://github.com/huggingface/transformers/pull/19892/files

* Add tip in original docs
This commit is contained in:
Pedro Cuenca
2024-07-05 20:28:41 +02:00
committed by GitHub
parent a8fa6fbbec
commit 1082361a19
5 changed files with 165 additions and 16 deletions

View File

@@ -581,6 +581,8 @@
title: DeiT
- local: model_doc/depth_anything
title: Depth Anything
- local: model_doc/depth_anything_v2
title: Depth Anything V2
- local: model_doc/deta
title: DETA
- local: model_doc/detr