Illustration of UNet training and testing on 2D images, dedicated to teaching.
01_UNET_TF2_test.ipynb --> understand images organization/loading and inference with a trained model,
01_UNET_TF2_train.ipynb --> train a UNet model
Images are small (resized to 96 x 96), architecture is basic (UNet 2D) with many parameters to modify it (number of filters, number of level, activation, trainig method and parameters, ...), data generator, one to three channels as input.
With the proposed parameters, a first 2 minutes learning using GPU can provide amazing results.