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

  • Log In
  • Sign Up

hongrui
/
mammogram_v_2_2

Text-to-Image
Diffusers
stable-diffusion
stable-diffusion-diffusers
lora
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use hongrui/mammogram_v_2_2 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("hongrui/mammogram_v_2_2")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
mammogram_v_2_2
74.1 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
hongrui's picture
hongrui
End of training
720476c almost 3 years ago
  • checkpoint-1600
    End of training almost 3 years ago
  • checkpoint-2400
    End of training almost 3 years ago
  • checkpoint-3200
    End of training almost 3 years ago
  • checkpoint-4000
    End of training almost 3 years ago
  • checkpoint-4800
    End of training almost 3 years ago
  • checkpoint-5600
    End of training almost 3 years ago
  • checkpoint-800
    End of training almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    531 Bytes
    End of training almost 3 years ago
  • image_0.png
    420 kB
    End of training almost 3 years ago
  • image_1.png
    315 kB
    End of training almost 3 years ago
  • image_2.png
    468 kB
    End of training almost 3 years ago
  • image_3.png
    381 kB
    End of training almost 3 years ago
  • pytorch_lora_weights.bin
    3.29 MB
    xet
    End of training almost 3 years ago