CoolFace
Apppublic

ibrahim313/unet-adam-diceloss

sourceHugging Facemitupdated 1y agoView on Hugging Face
1likes
App README

๐Ÿฅ AI-Powered Polyp Detection System

An intelligent medical imaging system that uses deep learning to detect colorectal polyps in colonoscopy images.

๐ŸŽฏ Features

  • โ€”Real-time polyp detection using U-Net deep learning architecture
  • โ€”Visual segmentation with overlay highlighting detected regions
  • โ€”Quantitative analysis providing polyp coverage percentages
  • โ€”Medical-grade interface designed for healthcare applications
  • โ€”Adjustable sensitivity with detection threshold controls

๐Ÿ”ฌ Model Details

  • โ€”Model Repository: ibrahim313/unet-adam-diceloss
  • โ€”Architecture: U-Net with 32 base channels
  • โ€”Training Dataset: Kvasir-SEG (1000 polyp images)
  • โ€”Framework: PyTorch
  • โ€”Input Size: 384ร—384 pixels
  • โ€”Output: Binary segmentation mask

๐Ÿ“Š Performance

The model achieves excellent performance on the Kvasir-SEG dataset:

  • โ€”High sensitivity for polyp detection
  • โ€”Clinically relevant segmentation accuracy
  • โ€”Robust performance across various image qualities

๐Ÿš€ Usage

  1. 1.Upload a colonoscopy image
  2. 2.Adjust detection threshold if needed (0.1 - 0.9)
  3. 3.Click "๐Ÿ” Analyze for Polyps"
  4. 4.Review the results and segmentation overlay

๐Ÿ”ง Technical Implementation

  • โ€”Deep Learning: U-Net encoder-decoder architecture
  • โ€”Preprocessing: Albumentations (resize, normalize)
  • โ€”Inference: PyTorch with CPU optimization
  • โ€”Interface: Gradio for user-friendly interaction
  • โ€”Deployment: Hugging Face Spaces

โš ๏ธ Medical Disclaimer

This AI system is intended for research and educational purposes only. It should not be used as a substitute for professional medical diagnosis. Always consult qualified healthcare professionals for clinical decisions.

๐Ÿ“ Model Information

The underlying model was trained using:

  • โ€”Loss Function: Dice Loss
  • โ€”Optimizer: Adam
  • โ€”Training Epochs: 100
  • โ€”Validation Strategy: Train/Validation/Test split

๐Ÿค Contributing

This project is open for improvements and contributions. Feel free to:

  • โ€”Report issues or bugs
  • โ€”Suggest enhancements
  • โ€”Share feedback on medical accuracy
  • โ€”Contribute to model improvements

๐Ÿ“ž Contact

For questions or medical AI collaboration opportunities, please reach out through Hugging Face.


Built with โค๏ธ for advancing medical AI research