Views
No views yet

| File | Description |
|---|---|
checkpoint.pt | Full PyTorch checkpoint: raw weights, EMA weights, optimizer state (resumable) |
unet.onnx | EMA weights exported to ONNX (fp32), verified to 4e-6 against PyTorch |
train_diffusion.py | Complete training script |
sample.py | Generate image grids from the checkpoint |
export_onnx.py | Reproduce the ONNX export |
1pip install torch torchvision
2python sample.py --n 64 --seed 42 # sample a grid from checkpoint.pt
3python train_diffusion.py --base 128 --epochs 300 --out out_big --sample-every 10 --ema-decay 0.9995 # retrain