GabrielGaleana34/Products
Viewer • Updated • 451 • 9
How to use GabrielGaleana34/sd-model-finetuned with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("GabrielGaleana34/sd-model-finetuned", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]This pipeline was finetuned from stabilityai/stable-diffusion-2-1 on the GabrielGaleana34/Products dataset. Below are some example images generated with the finetuned pipeline using the following prompts: ['[A Coca-cola soda in a plastic bottle]']:
You can use the pipeline like so:
from diffusers import DiffusionPipeline
import torch
pipeline = DiffusionPipeline.from_pretrained("GabrielGaleana34/sd-model-finetuned", torch_dtype=torch.float16)
prompt = "A Coca-cola soda in a plastic bottle"
image = pipeline(prompt).images[0]
image.save("my_image.png")
These are the key hyperparameters used during training:
Base model
stabilityai/stable-diffusion-2-1