Skin cancer is the most common cancer globally, with melanoma being the most deadly form. Dermoscopy is a skin imaging modality that has demonstrated improvement for diagnosis of skin cancer compared to unaided visual inspection. In order to make expertise more widely available, the International Skin Imaging Collaboration (ISIC) has developed the ISIC Archive, an international repository of dermoscopic images, for both the purposes of clinical training, and for supporting technical research toward automated algorithmic analysis by hosting the ISIC Challenges.
The goal for the ISIC 2019 challenge is to classify dermoscopic images among nine different diagnostic categories:
Melanoma (MEL)
Melanocytic nevus (NV)
Basal cell carcinoma (BCC)
Actinic keratosis (AK)
Benign keratosis (solar lentigo / seborrheic keratosis / lichen planus-like keratosis) (BKL)
Dermatofibroma (DF)
Vascular lesion (VASC)
Squamous cell carcinoma (SCC)
None of the others (UNK)
25,331 images are available for training across 8 different categories. Additionally, the test dataset contains an additional outlier class not represented in the training data, which developed systems must be able to identify.
We documented our approach to the ISIC-2019 challenge at https://arxiv.org/abs/2101.03814
Combined data from ISIC-2019, PH2, Light Field Image Dataset of Skin Lesions, SD-198, 7-point criteria evaluation Database, MED-NODE.
The best single model has been deployed as a web app at https://skin-lesion-classifier-285410.uc.r.appspot.com/
An ensemble of classifiers performs at 0.634 balanced multiclass accuracy: ISIC 2019 Live Leaderboard (2019: Lesion Diagnosis).
Ensembling (ensemble.ipynb) has been achieved by calculating the arithmetic mean of the predictions of the best performing models. Trained model architectures are
- Inception-ResNet-v2: isic_classifier_inceptionresnetv2.ipynb
- SE-ResNeXt-101(32x4d): isic_classifier_se_resnext101_32x4d.ipynb
- NASNet-A-Large: isic_classifier_nasnetalarge.ipynb
- EfficientNet-B4: isic_classifier_efficientnet-b4.ipynb
- EfficientNet-B5: isic_classifier_efficientnet-b5.ipynb
If GitHub is unable to render the notebooks they can be viewed externally at https://nbviewer.jupyter.org/github/j05t/lesion-analysis/tree/master/.
pip install fastai==1.0.61 efficientnet-pytorch==0.7.0 pretrainedmodels==0.7.4 \ jupyter==1.0.0 matplotlib==3.3.2 pandas==1.1.4 seaborn==0.11.0 ipython==7.19.0