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

  • Log In
  • Sign Up

rubyseng
/
kce_defect_LoRA

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

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

  • Libraries
  • Diffusers

    How to use rubyseng/kce_defect_LoRA 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/stable-diffusion-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("rubyseng/kce_defect_LoRA")
    
    prompt = "a photo of KCE defect"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
kce_defect_LoRA
3.25 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
rubyseng's picture
rubyseng
End of training
97f09c4 verified about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    1.73 kB
    End of training about 2 years ago