Instructions to use erkam/sd-clevr-text2im with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use erkam/sd-clevr-text2im 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-text2im") 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
Download checkpoint-5000/optimizer.bin from erkam/sd-clevr-text2im: direct link, hf CLI and curl.
- Browser
- Download file 213 MB
-
https://huggingface.co/erkam/sd-clevr-text2im/resolve/main/checkpoint-5000/optimizer.bin
- Command line
-
hf download hf://erkam/sd-clevr-text2im/checkpoint-5000/optimizer.bin
-
curl -L -o optimizer.bin https://huggingface.co/erkam/sd-clevr-text2im/resolve/main/checkpoint-5000/optimizer.bin
213 MB
- Xet hash:
- d8bcea1e78c2758b2103efd758560971909f03d6b33547c8a2362e80cadcb938
- Size of remote file:
- 213 MB
- SHA256:
- b0641492de0852dabb4591aa9c511a2f00cb17e5e881915780b52eb4eb423048
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.