Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

SargeZT
/
t2i-adapter-sdxl-segmentation

Text-to-Image
Diffusers
Safetensors
stable-diffusion-xl
stable-diffusion-xl-diffusers
t2i_adapter
Model card Files Files and versions
xet
Community
2

Instructions to use SargeZT/t2i-adapter-sdxl-segmentation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use SargeZT/t2i-adapter-sdxl-segmentation with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("SargeZT/t2i-adapter-sdxl-segmentation", torch_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
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
t2i-adapter-sdxl-segmentation
360 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
SargeZT's picture
SargeZT
MaisonNovembre's picture
MaisonNovembre
Adding `safetensors` variant of this model (#2)
022d127 almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    1.39 kB
    Update README.md almost 3 years ago
  • config.json
    218 Bytes
    End of training almost 3 years ago
  • diffusion_pytorch_model.bin

    Detected Pickle imports (3)

    • "collections.OrderedDict",
    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    177 MB
    xet
    End of training almost 3 years ago
  • diffusion_pytorch_model.safetensors
    177 MB
    xet
    Adding `safetensors` variant of this model (#2) almost 3 years ago
  • image_control.png
    7.96 kB
    End of training almost 3 years ago
  • images_0.png
    875 kB
    End of training almost 3 years ago
  • images_1.png
    942 kB
    End of training almost 3 years ago
  • images_2.png
    859 kB
    End of training almost 3 years ago
  • images_3.png
    763 kB
    End of training almost 3 years ago
  • images_4.png
    774 kB
    End of training almost 3 years ago
  • images_5.png
    801 kB
    End of training almost 3 years ago
  • images_6.png
    763 kB
    End of training almost 3 years ago
  • images_7.png
    847 kB
    End of training almost 3 years ago