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

  • Log In
  • Sign Up

erkam
/
sd-clevr-sg2im-objects_cap-e2e

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

Instructions to use erkam/sd-clevr-sg2im-objects_cap-e2e with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use erkam/sd-clevr-sg2im-objects_cap-e2e 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-2", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("erkam/sd-clevr-sg2im-objects_cap-e2e")
    
    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
sd-clevr-sg2im-objects_cap-e2e
1.47 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
erkam's picture
erkam
End of training
100d182 almost 3 years ago
  • checkpoint-10000
    End of training almost 3 years ago
  • checkpoint-15000
    End of training almost 3 years ago
  • checkpoint-20000
    End of training almost 3 years ago
  • checkpoint-25000
    End of training almost 3 years ago
  • checkpoint-30000
    End of training almost 3 years ago
  • checkpoint-35000
    End of training almost 3 years ago
  • checkpoint-40000
    End of training almost 3 years ago
  • checkpoint-45000
    End of training almost 3 years ago
  • checkpoint-5000
    End of training almost 3 years ago
  • checkpoint-50000
    End of training almost 3 years ago
  • .gitattributes
    1.48 kB
    initial commit almost 3 years ago
  • README.md
    448 Bytes
    End of training almost 3 years ago
  • pytorch_lora_weights.bin
    3.42 MB
    xet
    End of training almost 3 years ago