Automated scoring code for the ISIC Challenge.
Python version >= 3.8 is required.
pip install isic-challenge-scoring
docker pull isic/isic-challenge-scoring:latest
isic-challenge-scoring segmentation /path/to/ISIC_GroundTruth/ /path/to/ISIC_predictions/
isic-challenge-scoring classification /path/to/ISIC_GroundTruth.csv /path/to/ISIC_prediction.csv
Since the application requires read access to files, Docker must mount them within the container; these examples use --mount
to prevent nonexistent host paths from being accidentally created.
docker run \
--rm \
--mount type=bind,source="/path/to/ISIC_GroundTruth/",destination=/root/gt/,readonly \
--mount type=bind,source="/path/to/ISIC_predictions/",destination=/root/pred/,readonly \
isic/isic-challenge-scoring:latest \
segmentation \
/root/gt/ \
/root/pred/
docker run \
--rm \
--mount type=bind,source="/path/to/ISIC_GroundTruth.csv",destination=/root/gt.csv,readonly \
--mount type=bind,source="/path/to/ISIC_prediction.csv",destination=/root/pred.csv,readonly \
isic/isic-challenge-scoring:latest \
classification \
/root/gt.csv \
/root/pred.csv