-
-
Notifications
You must be signed in to change notification settings - Fork 347
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #870 from abckhush/main
Added Butterfly Image Classification
- Loading branch information
Showing
10 changed files
with
2,766 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# **Butterfly Image Classification** | ||
|
||
The dataset features 75 different classes of Butterflies. The dataset contains about 1000+ labelled images including the validation images. Each image belongs to only one butterfly category. | ||
|
||
### Dataset Link : https://www.kaggle.com/datasets/phucthaiv02/butterfly-image-classification/data |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+71.2 KB
Butterfly Image Classification/Images/Distribution of Butterfly Classes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,253 changes: 1,253 additions & 0 deletions
1,253
Butterfly Image Classification/Models/butterfly-classification-cnn.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
1,451 changes: 1,451 additions & 0 deletions
1,451
Butterfly Image Classification/Models/butterfly-classification-efficientnet.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
Butterfly Image Classification/Models/butterfly-classification-resnet-50.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# **Butterfly Image Classification** | ||
|
||
## 🎯 Goal | ||
The primary goal of this project is to build and compare various deep learning models to accurately classify butterfly images into their respective species. | ||
|
||
## 🧵 Dataset : https://www.kaggle.com/datasets/phucthaiv02/butterfly-image-classification | ||
|
||
## 🧾 Description | ||
This dataset consists of over 1000 labeled images of butterflies, including validation images. Each image belongs to only one butterfly category. The challenge is to develop models that can accurately classify these images into the correct species. | ||
|
||
## 🚀 Models Implemented | ||
1. Convolutional Neural Network (CNN) | ||
2. EfficientNet | ||
3. ResNet50 | ||
|
||
## 📚 Libraries Needed | ||
- TensorFlow: For building and training deep learning models. | ||
- Keras: For simplifying the creation and training of neural networks. | ||
- NumPy: For numerical computations and array operations. | ||
- Pandas: For data manipulation and analysis. | ||
- Matplotlib: For plotting and visualizing data. | ||
|
||
## 📊 Exploratory Data Analysis Results | ||
The dataset features 75 different classes of Butterflies. The dataset contains about 1000+ labelled images including the validation images. Each image belongs to only one butterfly category. | ||
![Distribution of Butterfly Classes](https://github.com/user-attachments/assets/b274368f-aa5e-4722-85c1-943339d36373) | ||
|
||
## 📈 Performance of the Models based on the Accuracy Scores | ||
|
||
**CNN Performance** | ||
|
||
![CNN Accuracy Plot](https://github.com/user-attachments/assets/e994354e-6693-4e38-87e6-948de0d1c524) | ||
|
||
**EfficientNet Performance** | ||
|
||
![EfficientNet Accuracy Plot](https://github.com/user-attachments/assets/0f0027ac-47d8-43f6-b4ba-6d9be0e8e876) | ||
|
||
**ResNet50 Performance** | ||
|
||
![ResNet Accuracy Plot](https://github.com/user-attachments/assets/60d54f34-bf63-4096-9bc4-01994927715e) | ||
|
||
## 📢 Conclusion | ||
The following models were implemented and evaluated based on their accuracy scores: | ||
|
||
### Accuracy Results | ||
| Model | Accuracy | | ||
|-------|----------| | ||
| CNN | 87.36% | | ||
| ResNet50 | 80.82% | | ||
| EfficientNet | 91.85% | | ||
|
||
## Best Fitted Model | ||
EfficientNet achieved the highest accuracy of 91.85%, making it the best-performing model for this butterfly image classification task. | ||
|
||
## ✒️ Contributor | ||
- Name : Khushi Kalra | ||
- LinkedIn: https://www.linkedin.com/in/kalrakhushi/ |