TorchLean API

NN.Examples.Quickstart.SimpleCnnTrain

Simple CNN training example #

This is the image-classification companion to the small MLP tutorial.

The code is meant to look like normal model code: define the layers, choose a trainer, batch the small dataset, and call trainer.train. The shape-indexed tensors and checked training task are still there underneath, but they are not the first thing a new reader has to fight.

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