A newer version of the Gradio SDK is available:
5.24.0
Deep Learning for Detection of Iso-Sense, Obscure Masses in Mammographically Dense Breasts
Introduction
Deep Learning for Detection of Iso-Sense, Obscure Masses in Mammographically Dense Breasts is a paper on object detection method for finding malignant masses in breast mammograms. Our model is particularly useful for dense breasts and iso-dense and obscure masses. In this paper we have included code and pretrained weights for the paper along with all the scripts to replicate numbers in the paper(Our private dataset is not included).
Getting Started
First clone the repo:
git clone https://github.com/Pranjal2041/DenseMammograms.git
Next setup the enviornment using conda
or virtualenv
:
1. conda create -n densebreast python=3.7
conda activate densebreast
pip install -r requirements.txt
or
2. python -m venv densebreast
source densebreast/bin/activate
pip install -r requirements.txt
Pretrained Weights
You can download the pretrained models from this url in the current directory.
Running the Code
To generate predictions and FROC graphs using the pretrained models, run:
python all_graphs.py
For running individual models on other datasets, geenerate_{dataset}_preds.py have been provided.
For example to run predictions on inbreast, run:
python geenerate_inbreast_preds.py
Demo
You can either use Google Colab Demo or Huggingface demo
Citation
Details Coming Soon!
License
TODO: Add License