This project delves into the applications of deep learning Convolutional Neural Networks (CNNs): DeepLab v3+ and a CNN inspired by U-Net called Floral-Net, tasked with segmenting flowers and backgrounds from the Oxford Flower Dataset.
This study addresses imbalanced data in the Oxford Flower Dataset by carefully preprocessing images and labels. Using MATLAB, missing labels are removed, resulting in 846 image-label pairs. Transfer learning with DeepLabv3+ using ResNet18 and ResNet50 is employed, alongside a unique Floral-Net architecture inspired by prior works. Floral-Net integrates incremental dropout, selective filter adjustments, and weighted pixel classification to mitigate class imbalance. This comprehensive approach aims to improve semantic segmentation of flower images.
The Oxford Flower Dataset (17 Classes) was used.
Option | Value |
---|---|
Optimization Algorithm | sgdm |
Learning Rate Schedule | piecewise |
Learning Rate Drop Period | 6 |
Learning Rate Drop Factor | 0.1 |
Momentum | 0.9 |
Initial Learning Rate | 0.01 |
L2 Regularization | 0.005 |
Validation Data | dsVal |
Max Epochs | 10 |
Mini-Batch Size | 4 |
Shuffle | every-epoch |
Checkpoint Path | tempdir |
Verbose Frequency | 10 |
Validation Patience | 4 |
Option | Value |
---|---|
Optimization Algorithm | Adam |
Initial Learning Rate | 0.001 |
Learning Rate Schedule | Piecewise |
Learning Rate Drop Factor | 0.1 |
Learning Rate Drop Period | 10 |
L2 Regularization | 0.0001 |
Maximum Epochs | 10 |
Mini-Batch Size | 16 |
Data Shuffling | Every Epoch |
Validation Data | dsVal |
Validation Frequency | 10 |
- DeepLab v3+: Initialized with ResNet18 and ResNet50.
- Floral-Net: A simplified Encoder-Decoder Network with layers mirroring U-Net
Link to Networks : Link
- DeepLab v3+ with ResNet50 outperformed other networks.
- Floral-Net is a strong contender with its lightweight architecture.
- Experiment with more augmentations.
- Explore other lightweight architectures.