Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image-Classification-using-Convolutional-Neural-Networks #815

Conversation

UTSAVS26
Copy link

@UTSAVS26 UTSAVS26 commented Jun 23, 2024

Pull Request for DL-Simplified 💡

Issue #730

Issue Title: Image Classification using Convolutional Neural Networks

Info about the related issue (Aim of the project): The goal of this project is to implement and compare the performance of various deep learning models, including LeNet-5, MobileNet, ResNet50, Simple CNN, and VGG16, for image classification tasks. By training these models on datasets like CIFAR-10 and MNIST, the project aims to evaluate and analyze their respective accuracies, loss values, and generalization capabilities. This comparative study will highlight the strengths and weaknesses of each architecture and provide insights into their effectiveness for practical image classification applications. The findings will guide the selection of the most suitable model architecture for robust image classification.

Name: Utsav Singhal
GitHub ID: UTSAVS26
Email ID: [email protected]
Identify yourself: SSoC 2024 participant
Closes: #730

Describe the add-ons or changes you've made 📃
This project involves the implementation and comparison of five deep learning models: LeNet-5, MobileNet, ResNet50, Simple CNN, and VGG16. Each model is designed for image classification tasks and has been tested on datasets like CIFAR-10 and MNIST. The models were trained with data augmentation to improve generalization and their performances were evaluated based on metrics such as accuracy, precision, recall, and F1-score. The project aims to identify which model best balances accuracy and generalization, offering insights into the advantages of different architectural features like residual connections and depthwise separable convolutions in deep learning.

Type of change ☑
What sort of change have you made:

  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, local variables)
  • This change requires a documentation update

How Has This Been Tested? ⚙
The project involved evaluating five deep learning models—LeNet-5, MobileNet, ResNet50, Simple CNN, and VGG16—for image classification tasks. The models were trained on the CIFAR-10 and MNIST datasets, with the data split into training, validation, and test sets. Training data underwent extensive augmentation to enhance model generalization. Each model was trained using categorical cross-entropy loss and the Adam optimizer, with callbacks for early stopping, best model checkpointing, and learning rate reduction. Performance was assessed on test sets using accuracy, precision, recall, F1-score, and confusion matrices. Results were visualized through accuracy curves and detailed classification reports. This comprehensive evaluation aimed to identify the most effective architecture for robust image classification.

Checklist: ☑

  • My code follows the guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly wherever it was hard to understand.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added things that prove my fix is effective or that my feature works.
  • Any dependent changes have been merged and published in downstream modules.

Copy link

Our team will soon review your PR. Thanks @UTSAVS26 :)

Copy link
Owner

@abhisheks008 abhisheks008 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rename the project folder name as per the issue name.

@abhisheks008 abhisheks008 added Status: Requested Changes Changes requested. gssoc Girlscript Summer of Code 2024 labels Jun 23, 2024
@UTSAVS26
Copy link
Author

Changes done successfully

@abhisheks008
Copy link
Owner

Follow the README template and update the README as per the given template.
Here is the template, https://github.com/abhisheks008/DL-Simplified/blob/main/.github/readme_template.md

@UTSAVS26

@UTSAVS26
Copy link
Author

Follow the README template and update the README as per the given template. Here is the template, https://github.com/abhisheks008/DL-Simplified/blob/main/.github/readme_template.md

@UTSAVS26

Changes done for the README.md file based on template

@abhisheks008
Copy link
Owner

Your model implementations are good enough, but the accuracy scores a bit concerning especially for the CIFAR dataset. Can come up with a model, which is having at least 80% accuracy with the CIFAR dataset?

@UTSAVS26
Copy link
Author

Your model implementations are good enough, but the accuracy scores a bit concerning especially for the CIFAR dataset. Can come up with a model, which is having at least 80% accuracy with the CIFAR dataset?

I will try to get some new models or try to make one if necessary for CIFAR10 dataset but for now i have get these accuracies as reported above and i have added separate precision and classification report for each of the model individual too.

@UTSAVS26 UTSAVS26 closed this by deleting the head repository Jul 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc Girlscript Summer of Code 2024 Status: Requested Changes Changes requested.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants