lambda/naruto-blip-captions
Updated • 3.61k • 56
How to use ekshat/Stable_Diffussion_Naruto_Style with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("ekshat/Stable_Diffussion_Naruto_Style", 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 ekshat/stable-diffusion-anime-style on the lambdalabs/naruto-blip-captions dataset. Below are some example images generated with the finetuned pipeline using the following prompts: ['A person with blue eyes.']:
You can use the pipeline like so:
from diffusers import DiffusionPipeline
import torch
pipeline = DiffusionPipeline.from_pretrained("ekshat/Stable_Diffussion_Anime_Style", torch_dtype=torch.float16)
pipeline = pipeline.to("cuda")
prompt = "A person with blue eyes."
image = pipeline(prompt).images[0]
image.save("my_image.png")
These are the key hyperparameters used during training: