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

  • Log In
  • Sign Up

OzzyGT
/
depth_pro_custom_block

Depth Estimation
Diffusers
modular-diffusers
Model card Files Files and versions
xet
Community

Instructions to use OzzyGT/depth_pro_custom_block with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use OzzyGT/depth_pro_custom_block with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("OzzyGT/depth_pro_custom_block", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
depth_pro_custom_block
13.1 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
OzzyGT's picture
OzzyGT HF Staff
initial commit
88c28fc 28 days ago
  • .gitattributes
    1.52 kB
    initial commit 28 days ago
  • .gitignore
    109 Bytes
    initial commit 28 days ago
  • README.md
    3.32 kB
    initial commit 28 days ago
  • block.py
    7.55 kB
    initial commit 28 days ago
  • modular_config.json
    84 Bytes
    initial commit 28 days ago
  • pyproject.toml
    413 Bytes
    initial commit 28 days ago
  • requirements.txt
    133 Bytes
    initial commit 28 days ago