Instructions to use davidfant/sd-ecom-brightswimwear with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use davidfant/sd-ecom-brightswimwear with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import AutoPipelineForInpainting from diffusers.utils import load_image # switch to "mps" for apple devices pipe = AutoPipelineForInpainting.from_pretrained("davidfant/sd-ecom-brightswimwear", dtype=torch.float16, device_map="cuda") img_url = "https://raw.githubusercontent.com/CompVis/latent-diffusion/main/data/inpainting_examples/overture-creations-5sI6fQgYIuo.png" mask_url = "https://raw.githubusercontent.com/CompVis/latent-diffusion/main/data/inpainting_examples/overture-creations-5sI6fQgYIuo_mask.png" image = load_image(img_url).resize((1024, 1024)) mask_image = load_image(mask_url).resize((1024, 1024)) prompt = "a tiger sitting on a park bench" generator = torch.Generator(device="cuda").manual_seed(0) image = pipe( prompt=prompt, image=image, mask_image=mask_image, guidance_scale=8.0, num_inference_steps=20, # steps between 15 and 30 work well for us strength=0.99, # make sure to use `strength` below 1.0 generator=generator, ).images[0] - Notebooks
- Google Colab
- Kaggle
Commit History
-
stable-diffusion-inpainting, fine-tuned from breast size, flower-garden (20000 steps)
e0ebeb9 -
stable-diffusion-inpainting, fine-tuned from breast size, flower-garden (18000 steps)
e526ee0 -
stable-diffusion-inpainting, fine-tuned from breast size, flower-garden (16000 steps)
fc00c97 -
stable-diffusion-inpainting, fine-tuned from breast size, flower-garden (14000 steps)
87c4f9b -
stable-diffusion-inpainting, fine-tuned from breast size, flower-garden (12000 steps)
8b69971 -
stable-diffusion-inpainting, fine-tuned from breast size, flower-garden (10000 steps)
4abc782 -
stable-diffusion-inpainting, fine-tuned from breast size, flower-garden (8000 steps)
54c2ffd -
stable-diffusion-inpainting, fine-tuned from breast size, flower-garden (6000 steps)
a2b5801 -
stable-diffusion-inpainting, fine-tuned from breast size, flower-garden (4000 steps)
e68efd9 -
stable-diffusion-inpainting, fine-tuned from breast size, flower-garden (2000 steps)
f28f5ca -
stable-diffusion-inpainting, 4/5 breast size, updated code (20000 steps)
3e61a39 -
stable-diffusion-inpainting, 4/5 breast size, updated code (18000 steps)
4b83de2 -
stable-diffusion-inpainting, 4/5 breast size, updated code (16000 steps)
9d81414 -
stable-diffusion-inpainting, 4/5 breast size, updated code (14000 steps)
3be2cff -
stable-diffusion-inpainting, 4/5 breast size, updated code (12000 steps)
9b823fc -
stable-diffusion-inpainting, 4/5 breast size, updated code (10000 steps)
458cb3f -
stable-diffusion-inpainting, 4/5 breast size, updated code (8000 steps)
269b0ad -
stable-diffusion-inpainting, 4/5 breast size, updated code (6000 steps)
d7f798e -
stable-diffusion-inpainting, 4/5 breast size, updated code (4000 steps)
6bfb0e2 -
stable-diffusion-inpainting, 4/5 breast size, updated code (2000 steps)
70d19e4 -
stable-diffusion-inpainting, 4/5 breast size (20000 steps)
89ed62a -
stable-diffusion-inpainting, 4/5 breast size (18000 steps)
3dd76ad -
stable-diffusion-inpainting, 4/5 breast size (16000 steps)
72ac313 -
stable-diffusion-inpainting, 4/5 breast size (14000 steps)
b3fb50b -
stable-diffusion-inpainting, 4/5 breast size (12000 steps)
3e5986c -
stable-diffusion-inpainting, 4/5 breast size (10000 steps)
f540e4e -
stable-diffusion-inpainting, 4/5 breast size (8000 steps)
6273721 -
stable-diffusion-inpainting, 4/5 breast size (6000 steps)
071c423 -
stable-diffusion-inpainting, 4/5 breast size (4000 steps)
09e1158 -
stable-diffusion-inpainting, 4/5 breast size (2000 steps)
01bb789
-
stable-diffusion-inpainting, A-D cup size (20000 steps)
1972860 -
stable-diffusion-inpainting, A-D cup size (16000 steps)
dfa5ec0 -
stable-diffusion-inpainting, A-D cup size (12000 steps)
157a525 -
stable-diffusion-inpainting, A-D cup size (8000 steps)
bc2edb6 -
stable-diffusion-inpainting, A-D cup size (4000 steps)
ffd064d
-
stable-diffusion-inpainting, 7 products (top + bottom), constant pattern, variable shape (9000 steps)
0b00b38
-
stable-diffusion-inpainting, 7 products (top + bottom) with specific prompt (20000 steps)
9373423 -
stable-diffusion-inpainting, 7 products (top + bottom) with specific prompt (17000 steps)
9d551f5 -
stable-diffusion-inpainting, 7 products (top + bottom) with specific prompt (12000 steps)
a1985ae -
stable-diffusion-inpainting, 7 products (top + bottom) with specific prompt (9000 steps)
0fe3ffa -
stable-diffusion-inpainting, 7 products (top + bottom) with specific prompt (8000 steps)
cadae57 -
stable-diffusion-inpainting, 7 products (top + bottom) with specific prompt (7000 steps)
691b4d1 -
stable-diffusion-inpainting, 7 products (top + bottom) with specific prompt (6000 steps)
a726417 -
stable-diffusion-inpainting, 7 products (top + bottom) with specific prompt (5000 steps)
df3b587 -
stable-diffusion-inpainting, 7 products (top + bottom) with specific prompt (4000 steps)
3be2adc -
stable-diffusion-inpainting, 7 products (top + bottom) with specific prompt (3000 steps)
1106891 -
stable-diffusion-inpainting, 7 products (top + bottom) with specific prompt (2000 steps)
e1c651c -
stable-diffusion-inpainting, 7 products (top + bottom) with specific prompt (1000 steps)
1a44484 -
stable-diffusion-inpainting, 2 concepts (top + bottom) with very specific prompt (4000 steps)
e924e5d -
stable-diffusion-inpainting, 7 similar concepts with very specific prompt (8400 steps)
f497383