Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

depth-anything
/
Depth-Anything-V2-Small-hf

Depth Estimation
Transformers
Safetensors
depth_anything
depth
relative depth
Model card Files Files and versions
xet
Community
2

Instructions to use depth-anything/Depth-Anything-V2-Small-hf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use depth-anything/Depth-Anything-V2-Small-hf with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("depth-estimation", model="depth-anything/Depth-Anything-V2-Small-hf")
    # Load model directly
    from transformers import AutoImageProcessor, AutoModelForDepthEstimation
    
    processor = AutoImageProcessor.from_pretrained("depth-anything/Depth-Anything-V2-Small-hf")
    model = AutoModelForDepthEstimation.from_pretrained("depth-anything/Depth-Anything-V2-Small-hf")
  • Notebooks
  • Google Colab
  • Kaggle
Depth-Anything-V2-Small-hf
99.2 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
pcuenq's picture
pcuenq HF Staff
Change organization to depth-anything (#1)
5426e4f verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    4.4 kB
    Change organization to depth-anything (#1) almost 2 years ago
  • config.json
    950 Bytes
    Depth Anything V2 Small (Transformers version) almost 2 years ago
  • model.safetensors
    99.2 MB
    xet
    Depth Anything V2 Small (Transformers version) almost 2 years ago
  • preprocessor_config.json
    775 Bytes
    Depth Anything V2 Small (Transformers version) almost 2 years ago