TorchLean API

NN.Examples.Models.Vision.Cnn

CNN Training Example #

Runnable torchlean cnn example. It trains a small convolutional classifier on a prepared CIFAR-10 minibatch.

The reusable model wiring lives in NN.API.Models.Cnn (nn.models.cnn). This file is the runnable wrapper: command-line parsing, dataset selection, multi-epoch loader training, and TrainLog artifact writing.

python3 scripts/datasets/download_example_data.py --cifar10
lake build -R -K cuda=true && lake exe torchlean cnn --cuda --steps 1
@[reducible, inline]
Instances For
    @[reducible, inline]
    Instances For