lambda/pokemon-blip-captions
Viewer • Updated • 833 • 1.66k • 307
How to use quocanh34/sd-pokemon-model-test with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("quocanh34/sd-pokemon-model-test", 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 CompVis/stable-diffusion-v1-4 on the lambdalabs/pokemon-blip-captions dataset. Below are some example images generated with the finetuned pipeline using the following prompts: ['cute bear']:
You can use the pipeline like so:
from diffusers import DiffusionPipeline
import torch
pipeline = DiffusionPipeline.from_pretrained("quocanh34/sd-pokemon-model-test", torch_dtype=torch.float16)
prompt = "cute bear"
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
CompVis/stable-diffusion-v1-4