This repository contains a compact MNIST reimplementation of the drifting-model pipeline.
- Train the latent VAE backbone with
train_ae.py. - Train the latent drift model with
train.py. - Sample digits with
generate.py.
python train_ae.py
python train.py --epochs 30python generate.py --digit 7 --strength 1.0 --num_samples 16 --output_path ./outputs/generated_digits.pngCheckpoints are written to ./checkpoints and image grids to ./outputs.
If you trained before this rebuild, retrain both stages. The old generator checkpoint was produced with a collapse-prone objective and will not give reliable digit control.