Training TryOnDiffusion
Guide to training the TryOnDiffusion model.
Preparation
- Prepare your dataset
- Run preprocessing pipeline
- Configure training parameters
Basic Training
from tryondiffusion.diffusion import Diffusion
diffusion = Diffusion(
device="cuda",
pose_embed_dim=8,
time_steps=256,
unet_dim=64
)
# Prepare data
diffusion.prepare(args)
# Start training
diffusion.fit(args)
See TryOnDiffusion README for detailed training guide.