- Adam
- Madhav
- Luisa
- Rajiv
To rectify the discrepancy in AI models underdiagnosing darker-skinned patients with melanoma due to being trained to better recognize cancer on light skin, our goal was to create a model trained on an image dataset which was neutral to skin tone and color to increase diagnostic accuracy.
- Download both datasets from:
- Unzip both datasets into
AIModel/imagesin the AIModel folder. Extract the images from the ISIC_2020_Training_JPEG.zip into 'AIModel/images' and the images from the HAM10000_images_part_1 and the HAM10000_images_part_2 folders into 'AIModel/images'. - Create a new virtual environment called SpotCheck with
python3 -m venv SpotCheck - Install the requirements with
pip install -r requirements.txt - cd into the AIModel folder
- Run the training script with
train.sh - The model will be saved in the
AIModelfolder asskin_cancer_diagnosis_model.h5
- Download https://drive.google.com/drive/folders/1eI2kVQ4_SLDMZpcSdTkHETtxRu4V329X?usp=sharing
- Create a new virtual environment called SpotCheck with
python3 -m venv SpotCheckand install the requirements withpip install -r requirements.txt - cd into the
AIBackendfolder - Run the web app with
python backend.py - Open the web app at
localhost:5000