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 #805

Closed
wants to merge 18 commits into from

Conversation

SayantikaLaskar
Copy link
Contributor

@SayantikaLaskar SayantikaLaskar commented Jun 19, 2024

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:
  • Email ID: [email protected]
  • Idenitfy yourself: GSSoC 2024 participant

Closes: #issue number that will be closed through this PR

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 :)

@abhisheks008 abhisheks008 linked an issue Jun 20, 2024 that may be closed by this pull request
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.

  1. The Dataset_link.txt file should be renamed as README.md inside the Dataset folder.
  2. Try to do an EDA before implementing the models.
  3. Add some images inside the README file and also check the accuracy scores of the models you have implemented. It's showing x.xx%.
  4. Requirements.txt should be renamed as requirements.txt

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

Okay

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.

[Project Addition] Kidney Stone Images Classification
2 participants