Tiny Diff is a small conditional U-Net diffusion model built as a learning project. It was trained on 32x32 2D game sprites including grass, water, and cobble textures.
- Sinusoidal positional embeddings for timestep conditioning
- Conditional generation with class labels (grass, water, cobble)
- Simple encoder-decoder U-Net architecture
- Import
TinyConditionalUNetandSinusoidalPosEmbfrommodels.py. - Provide input tensor
x, timestept, and label indices to theforwardmethod. - Output is the predicted next step in the diffusion process.
This project was created for learning and experimentation with diffusion models on small 2D game sprites.
This project is licensed under the MIT License. See the LICENSE file for details.
