The model was trained and tested on the dataset from TensorFlow.
The dataset used for this classification task contains 3670 images which belongs to 5 classes namely:
- Rose
- Daisy
- Dandelion
- Sunflowers
- Tulips
Here, flower types are classified using two models:
- Custom CNN model - created and trained from scratch. This model has 4 Convolutional layers along with Pooling, Fully Connected and Softmax layers.
- Transfer learning - A pre-trained MobileNet model by Google was used for classification. The MobileNet model has 27 Convolutional layers along with Pooling, Fully Connected and Softmax layers.
The Custom CNN model achieved 79.32% validation accuracy. Whereas, MobileNet achieved 90.34% validation accuracy on the same dataset by training for very less number of epochs.