Downloads · 30 days
16
5% of all-time downloads
keanteng/efficientnet-b0-breast-cancer-classification-0604-2
efficientnet-b0-breast-cancer-classification-0604-2 is a image classification model from keanteng. Use it when you need a label for an image. It is set up for pytorch. The card lists the license as agpl-3.0.
This repository contains a fine-tuned EfficientNet model for breast cancer classification based on mammography images.
Downloads · 30 days
16
5% of all-time downloads
All-time downloads
315
Public
Parameters
4.1M
16.4 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors16.2 MB · 99%
From the Hugging Face model README
This repository contains a fine-tuned EfficientNet model for breast cancer classification based on mammography images.
Due to the indistinguishable nature of the dataset various runs had been conducted to perform the original 3 classes classification according to the original DDSM dataset but the accuracy obtained is dismal (approx 67%) contrary to literature review of (>90%).
I have also explored dual input Swin Transformer using the Tumour Mask, however, similar dismal accuracy is obtained. We can look at the dataset and notice that the images all looks about the same except Normal. Thus, the detection strategy becomes detecting the presence of cancer by merging to Benign and Cancer images as a class against the Normal images.
With such approach, accuracy significant increases and achieve reliable performance.
The model is based on the EfficientNet architecture, fine-tuned on the Mini-DDBS-JPEG dataset for breast cancer classification.
The model was trained with class balancing techniques to handle data imbalance. Performance metrics on the test set:
| Metric | Value |
|---|---|
| Test Accuracy | 0.47058823529411764 |
| Test Loss | 97.15568387843764 |
For detailed performance metrics including precision, recall, and F1-score per class, please check the training notebook.
Please check the inference compute.