Skip to content

alexwitt23/melanoma-classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Melanoma Classifier

A PyTorch model to classify melanoma.

Setup

Clone this repository:

git clone --recursive https://github.com/alexwitt2399/melanoma-classifier

The data for this project can be found here andfrom Kaggle.

The data can be turned into a dataset by running:

PYTHONPATH=$(pwd) src/data-prep.py \
    --ham10k_path /path/to/ham \
    --save_dir ~/datasets/melanoma

Training

Training can be run like the following:

PYTHONPATH=. src/train.py \
    --config configs/efficientnet-b0.yaml 

Feel free to investigate src/dataset.py and tweak the augmentations.

configs contains the yaml definitions for various model training runs.

About

A PyTorch model to classify skin lesions.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages