lenetWithTimeStoppingCallback
fun lenetWithTimeStoppingCallback()
Content copied to clipboard
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 TimeStopping callback
model summary
model training
model evaluation