Autoencoder CIFAR Example #
Trains a compact vector autoencoder on a real CIFAR-10 minibatch.
CLI subcommand name used in terminal banners and error messages.
Instances For
Default JSON loss-curve path for this command.
Instances For
Shared vector-image configuration.
The compact config fixes the CIFAR batch size, flattened image dimension, and latent width used by the vector generative examples, so autoencoder/VAE/VQ-VAE/GAN runs use the same data boundary.
Instances For
Input shape: a batch of flattened CIFAR image vectors.
Instances For
Target shape: the same flattened image-vector batch, because this is reconstruction.
Instances For
Trainable vector autoencoder.
The architecture is defined in the public model API. The command chooses the dataset, optimizer, runtime options, and logging path.
Instances For
Public singleton dataset for compact CIFAR reconstruction.
Instances For
Train the compact autoencoder with the public Trainer surface.
Instances For
Executable entrypoint for CIFAR reconstruction.
The command loads one real CIFAR minibatch, builds the supervised reconstruction sample x -> x,
trains the autoencoder for --steps, and writes the standard TorchLean training summary/log.