1⃣ inet_results
Two-Stage ImageNet Generation via Semantic Plan
2 min read
A research model by author well9472 for class-conditional image generation on ImageNet at 256×256 resolution. The pipeline is split into two stages: first, the Planner module (492.5M parameters) builds a 67-channel image "plan" based on DINOv3-B features (64 channels of token projection and 3 channels of average color), and then the Refiner (164.7M parameters) turns this plan into a dinac3_96 latent representation, which is decoded into the final image. The total weight volume is 657.1M parameters, and the model was trained for 80 epochs without EMA (exponential moving average of weights). The release will be useful for AI researchers and engineers studying cascaded architectures and generation in the DINO feature space.
Key features
- Cascaded architecture (657.1M parameters): The Planner (width 1024, 24 blocks) handles semantic layout, while the Refiner (width 704, 18 blocks) handles detail refinement in the latent space.
- High quality on ImageNet 256×256: With guidance settings of 1.2 / 1.25, the model achieves an FID-50k of 1.430 and an IS of 261.6 in 25 steps per stage (AB2 solver).
- Full reproducibility: The repository includes training and evaluation scripts (
train.py,run.sh), intermediate snapshots (20, 40, 60, and 80 epochs), logs, and pre-generated batches of 50,000 samples in ADM format. - Ablation experiments: Also includes 3-epoch runs for comparing cascaded (
cascade-3ep), joint (joint-3ep), and purely latent (latent-3ep) approaches.
What you can do
- Reproduce or fine-tune the pipeline: Run the full cycle of data preparation, training, and FID measurement using the provided
run.shandtrain.pyscripts. - Recalculate metrics or compare checkpoints: Run evaluation on intermediate epochs (20, 40, 60) or verify pre-made
.npzbatches in the official TensorFlow evaluator. - Study architecture impact on convergence: Compare the behavior of cascaded versus joint generation using the provided logs and weights in the
ablations/folder.
Example
export PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True
python train.py eval --no-fp8 --no-ema --planner-cfg 1.2 --refiner-cfg 1.25
Read more
DetailsMetrics (50k samples): FID-50k = 1.430, IS = 261.6 (at guidance 1.2 / 1.25); without guidance (1 / 1) — FID-50k = 3.156, IS = 181.2.
Hardware and training: 61 hours on a single NVIDIA H100 80GB (peak consumption 68.6 GiB VRAM), Python 3.12, PyTorch 2.14.1 (CUDA 13.0), batch size 256.
Limitations: The ImageNet dataset (
ILSVRC/imagenet-1k) and the frozen dinac3_96 autoencoder (assets/dinac3_96) are not included in the repository and are required separately.









Comments