jytjyt05/t_to_m3
Viewer • Updated • 708 • 6
How to use kerianheYi/CS245-fine-tunedSD1000_708 with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("kerianheYi/CS245-fine-tunedSD1000_708", 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-base on the jytjyt05/t_to_m3 dataset. Below are some example images generated with the finetuned pipeline using the following prompts: ['C-Major, Piano, Solo, Ultra High Resolution']:
You can use the pipeline like so:
from diffusers import DiffusionPipeline
import torch
pipeline = DiffusionPipeline.from_pretrained("kerianheYi/CS245-fine-tunedSD1000_708", torch_dtype=torch.float16)
prompt = "C-Major, Piano, Solo, Ultra High Resolution"
image = pipeline(prompt).images[0]
image.save("my_image.png")
These are the key hyperparameters used during training:
Base model
stabilityai/stable-diffusion-2-base