fantasyfish/laion-art
Viewer • Updated • 20.9k • 630 • 14
How to use ikozlov/sd-laion-art with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("ikozlov/sd-laion-art", 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 fantasyfish/laion-art dataset. Below are some example images generated with the finetuned pipeline using the following prompts: ['A man in a suit']:
You can use the pipeline like so:
from diffusers import DiffusionPipeline
import torch
pipeline = DiffusionPipeline.from_pretrained("ikozlov/sd-laion-art", torch_dtype=torch.float16)
prompt = "A man in a suit"
image = pipeline(prompt).images[0]
image.save("my_image.png")
These are the key hyperparameters used during training:
More information on all the CLI arguments and the environment are available on your wandb run page.
Base model
stabilityai/stable-diffusion-2-1