Skip to content

Commit

Permalink
add depth anything models to integration docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobmarks committed Oct 17, 2024
1 parent 67fe3d6 commit c5500b2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/source/integrations/huggingface.rst
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,15 @@ method:
from transformers import GLPNForDepthEstimation
model = GLPNForDepthEstimation.from_pretrained("vinvino02/glpn-kitti")
# Depth Anything
from transformers import AutoModelForDepthEstimation
model = AutoModelForDepthEstimation.from_pretrained("LiheYoung/depth-anything-small-hf")
# Depth Anything-V2
from transformers import AutoModelForDepthEstimation
model = AutoModelForDepthEstimation.from_pretrained("depth-anything/Depth-Anything-V2-Small-hf")
.. code-block:: python
:linenos:
Expand Down

0 comments on commit c5500b2

Please sign in to comment.