TorchLean API

NN.Examples.Quickstart.SimpleCnnTrain

Simple CNN training example #

This is the image-classification companion to the small MLP tutorial. The file shows the public training path in its simplest CNN form: define the layers, choose a trainer, batch the small dataset, and call trainer.train. Shape-indexed tensors and the checked training task remain present, but the first read follows the model code rather than subsystem plumbing.

Check this tutorial module directly:

For the maintained command-line CNN trainer, use NN/Examples/Models/Vision/Cnn.lean:

Optional flags:

See NN/Examples/Quickstart/README.md for the shared conventions in this folder.

Default JSON log path used only when the user explicitly passes --log.

Instances For

    Command-line help for the simple CNN quickstart.

    Instances For