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 Settings
- Draw Things
- DiffusionBee
Download pytorch_lora_weights.bin from erkam/sd-clevr-sg2im-objects_cap-e2e: direct link, hf CLI and curl.
- Browser
- Download file 3.42 MB
-
https://huggingface.co/erkam/sd-clevr-sg2im-objects_cap-e2e/resolve/main/pytorch_lora_weights.bin
- Command line
-
hf download hf://erkam/sd-clevr-sg2im-objects_cap-e2e/pytorch_lora_weights.bin
-
curl -L -o pytorch_lora_weights.bin https://huggingface.co/erkam/sd-clevr-sg2im-objects_cap-e2e/resolve/main/pytorch_lora_weights.bin
3.42 MB
- Xet hash:
- 763ea2f62dde1902876d74d69c56a69d66145faeec88b2cafca24e9d662cc30b
- Size of remote file:
- 3.42 MB
- SHA256:
- de799ba0437761d2f31d3e0b3e7d48bae3b662cabc01a0440fe20a246d52ea84
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.