lenetMnistWithCustomCallback

fun lenetMnistWithCustomCallback()

This example shows how to do image classification from scratch using model, 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 definitions

  • TensorFlow graph printing

  • model training with custom callback

  • model evaluation with custom callback

  • model prediction with custom callback