dokuboyejo / isic-challenge-scoring

Automated scoring code for the ISIC Challenge.

Home Page:https://challenge.isic-archive.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ISIC: Skin Lesion Analysis Towards Melanoma Detection Scoring

PyPI Docker Build Status

Automated scoring code for the ISIC Challenge.

Installation

Python

Python version >= 3.8 is required.

pip install isic-challenge-scoring

Docker

docker pull isic/isic-challenge-scoring:latest

Usage

Python

Segmentation (Task 1)

isic-challenge-scoring segmentation /path/to/ISIC_GroundTruth/ /path/to/ISIC_predictions/

Classification (Task 3)

isic-challenge-scoring classification /path/to/ISIC_GroundTruth.csv /path/to/ISIC_prediction.csv

Docker

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.

Segmentation (Task 1)

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/

Classification (Task 3)

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

About

Automated scoring code for the ISIC Challenge.

https://challenge.isic-archive.com/

License:Apache License 2.0


Languages

Language:Python 99.7%Language:Dockerfile 0.3%