monadical-labs/minecraft-preview
Viewer • Updated • 1.02k • 160 • 6
How to use monadical-labs/minecraft-preview with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("monadical-labs/minecraft-preview", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]This Stable Diffusion model was fine-tuned on the Minecraft Character Dataset to generate a Minecraft-style characters, based on a text prompt.
The model was fine-tuned on the dataset for 15,000 steps using the 'train_text_to_image.py' script provided with the diffusers library.
I've written up the training process in more detail on the Monadical blog.
Here are some example text prompts and the images they generate:
You can contact me at: Cory Spencer <cory@monadical.com>