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

Add Kidney Stone Detection #814

Merged
merged 20 commits into from
Jun 23, 2024
Merged

Conversation

SayantikaLaskar
Copy link
Contributor

Pull Request for DL-Simplified 💡

Issue #771

Issue Title : kidney stone detection

  • Info about the related issue (Aim of the project) : The goal of this project is to develop the performance of three distinct deep learning architectures—VGG-like, CNN with spatial attention, and ResNet-like—for image classification tasks. By training these models on a dataset containing approximately 12,000 images across four classes, the project aims to evaluate and analyze their respective accuracies, loss values, and generalization capabilities. This comparative study will not only highlight the strengths and weaknesses of each architecture but also provide insights into the effectiveness of incorporating spatial attention and residual connections in deep neural networks. Ultimately, the findings from this project will guide the selection of the most suitable model architecture for robust image classification in practical applications.
  • Name: Sayantika Laskar
  • GitHub ID: https://github.com/SayantikaLaskar
  • Email ID: [email protected]
  • Identify yourself: GSSoC 2024 participant

Closes: #771

Describe the add-ons or changes you've made 📃

This project aims to develop and compare the performance of three advanced deep learning architectures—VGG-like, CNN with spatial attention, and ResNet-like—for classifying images into four categories: Normal, Cyst, Tumor, and Stone. The dataset, consisting of about 12,000 images, is split into training, validation, and test sets. Each model is trained with augmented data to improve generalization. The models are optimized and their performances are evaluated based on metrics like accuracy, precision, recall, and F1-score. The goal is to determine which architecture best balances accuracy and generalization, offering insights into the benefits of spatial attention and residual connections in deep learning for medical imaging.

Type of change ☑

What sort of change have you made:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, local variables)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested? ⚙

The project involved evaluating three deep learning architectures—VGG-like, CNN with spatial attention, and ResNet-like—for classifying kidney condition images into four classes (Normal, Cyst, Tumor, and Stone). The dataset, consisting of 12,000 images, was split into training, validation, and test sets. Training data underwent extensive augmentation to enhance model generalization. Each model was trained with categorical cross-entropy loss and Adam optimizer, using callbacks for early stopping, best model checkpointing, and learning rate reduction. Performance was assessed on a test set using accuracy, precision, recall, F1-score, and confusion matrices, with results visualized through accuracy curves and detailed classification reports. This comprehensive evaluation aimed to identify the most effective architecture for accurate kidney condition 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 @SayantikaLaskar :)

@SayantikaLaskar
Copy link
Contributor Author

Changes have been made @abhisheks008

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.

Looks good to me @SayantikaLaskar

Approved!

@abhisheks008 abhisheks008 added Status: Approved Approved PR by the PA. level2 Level 2 for GSSOC gssoc Girlscript Summer of Code 2024 labels Jun 23, 2024
@abhisheks008 abhisheks008 merged commit 42e1fd5 into abhisheks008:main Jun 23, 2024
1 check passed
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 level2 Level 2 for GSSOC Points Updated Status: Approved Approved PR by the PA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Project Addition] Kidney Stone Images Classification
2 participants