lenetWithMultipleCallbacks

fun lenetWithMultipleCallbacks()

This example shows how to do image classification from scratch using lenet5Classic, without leveraging pre-trained weights or a pre-made model. We demonstrate the workflow on the Mnist classification dataset.

It includes:

  • dataset loading from S3

  • callback definition

  • model compilation with EarlyStopping and TerminateOnNaN callbacks

  • model summary

  • model training

  • model evaluation