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

  • Log In
  • Sign Up

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

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

Instructions to use depth-anything/Depth-Anything-V2-Base-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-Base-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-Base-hf")
    # Load model directly
    from transformers import AutoImageProcessor, AutoModelForDepthEstimation
    
    processor = AutoImageProcessor.from_pretrained("depth-anything/Depth-Anything-V2-Base-hf")
    model = AutoModelForDepthEstimation.from_pretrained("depth-anything/Depth-Anything-V2-Base-hf")
  • Notebooks
  • Google Colab
  • Kaggle
Depth-Anything-V2-Base-hf
390 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
pcuenq's picture
pcuenq HF Staff
Update model card and license (#1)
b1958af verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    4.42 kB
    Update model card and license (#1) almost 2 years ago
  • config.json
    953 Bytes
    Upload DepthAnythingForDepthEstimation almost 2 years ago
  • model.safetensors
    390 MB
    xet
    Upload DepthAnythingForDepthEstimation almost 2 years ago
  • preprocessor_config.json
    775 Bytes
    Upload processor almost 2 years ago