This CNN model predicts melanoma with 83% accuracy, it is not meant to be an actual medical tool but rather a learning material.
Extract the archive of the dataset at the root of the project as follows:
.
├── archive
│ └── melanoma_cancer_dataset
│ ├── test
│ │ ├── benign
│ │ └── malignant
│ └── train
│ ├── benign
│ └── malignant
└── src
then enter these commands in your terminal:
python3 -m venv .venv/
source .venv/bin/activate
pip install -r requirements.txt
python3 src/process_data.py
python3 src/train_model.pypython3
>>> from demo_model import apply_model
>>> apply_model(path_to_image.jpg)
