Unconditional Image Generation
Diffusers
Safetensors
DDPMPipeline
image-generation
conditional-diffusion
indian-sign-language
classifier-free-guidance
Instructions to use mahadev-balla/isl-conditional-diffusion-linear-128 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use mahadev-balla/isl-conditional-diffusion-linear-128 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("mahadev-balla/isl-conditional-diffusion-linear-128", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
File size: 1,452 Bytes
550cb8f fd6b2fc 9c45470 550cb8f 9c45470 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | ---
license: mit
pipeline_tag: unconditional-image-generation
library_name: diffusers
tags:
- image-generation
- conditional-diffusion
- indian-sign-language
- classifier-free-guidance
---
# ISL Conditional Diffusion — Linear Noise Schedule
A class-conditioned DDPM trained from scratch to generate 128×128 RGB images of Indian Sign Language hand gestures using a linear noise schedule.
The model uses class conditioning on one of 35 ISL classes and supports classifier-free guidance during sampling.
The complete implementation and experiments are available in the [GitHub repository](https://github.com/MahadevBalla/isl-diffusion).
## Model
- DDPM with UNet2D architecture
- 128×128 resolution
- RGB images
- Class-conditional generation
- 35 ISL classes
- Classifier-free guidance (CFG)
- EMA weights
## Training
- Dataset: 42,000 images (1,200 images per class × 35 classes)
- Noise schedule: linear
- Batch size: 64
- Learning rate: 1e-4
- Mixed precision: fp16
- Training steps: 65,000
- EMA decay: 0.9999
- CFG label dropout: 0.15
- Data augmentation: enabled
## Sampling
- Default sampler: DDIM
- Training diffusion timesteps: 1,000
- Routine inference steps: 100
- Evaluation inference steps: 50
- Default guidance scale: 1.0
- Random seed: 42
## Results
At the FID-optimal guidance scale of 1.0:
- FID: 58.25
- Semantic accuracy: 98.0%
The model provides strong class control under the reported evaluation setting.
|