Image Segmentation [Code]
Image segmentation using modified UNET. Dataset is obtained from Kaggle. Data is split into train and test set in 80:20 ratio.
- MobileNetV2 is used as downsampler of the modified UNET model.
- Upsampler part of the model consist of 4
Conv2DTranspose
+BatchNormalization
+ReLU
layers initialized throughtensorflow_examples.models.pix2pix.upsampler()
function. Each layer is initialized with filters of size 3x3 with:- Upsample Layer 1: 512 filters
- Upsample Layer 2: 256 filters
- Upsample Layer 3: 128 filters
- Upsample Layer 4: 64 filters
- Model is trained for 20 epochs, with batch size 16.
- Best accuracy (0.9937) is obtained on epoch 19.