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

  • Log In
  • Sign Up

JasonWen
/
ControlNet_Models_Comprehensive_Collection

Diffusers
ONNX
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use JasonWen/ControlNet_Models_Comprehensive_Collection with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("JasonWen/ControlNet_Models_Comprehensive_Collection", 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
ControlNet_Models_Comprehensive_Collection
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
JasonWen's picture
JasonWen
Upload dpt_hybrid-midas-501f0c75.pt
2753f48 verified almost 2 years ago
  • Preprocessor预处理器
    Upload dpt_hybrid-midas-501f0c75.pt almost 2 years ago
  • .gitattributes
    1.63 kB
    Upload 41 files almost 2 years ago
  • README.md
    31 Bytes
    Create README.md almost 2 years ago