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

  • Log In
  • Sign Up

pbarbarant
/
sd-sonio

Text-to-Image
Diffusers
stable-diffusion
lora
template:sd-lora
Model card Files Files and versions
xet
Community

Instructions to use pbarbarant/sd-sonio with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use pbarbarant/sd-sonio with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("stabilityai/sd-turbo", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("pbarbarant/sd-sonio")
    
    prompt = "A healthy cardiac image from a Philipps scanner. The image should exhibit a high level of speckle noise like on the ultrasound or sar images."
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
sd-sonio
3.98 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
pbarbarant's picture
pbarbarant
Add 2 files
5aa3d8f verified almost 2 years ago
  • images
    Add 2 files almost 2 years ago
  • .gitattributes
    2.31 kB
    initial commit almost 2 years ago
  • README.md
    541 Bytes
    initial commit almost 2 years ago
  • pytorch_lora_weights_healthy.safetensors
    3.36 MB
    xet
    Add 2 files almost 2 years ago