Sign inSign up

isic/isic-challenge-scoring

By isic

•Updated almost 6 years ago

Automated scoring code, to be used for the ISIC Challenge

Image
1

10K+

isic/isic-challenge-scoring repository overview

⁠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

Tag summary

Content type

Image

Digest

Size

415.7 MB

Last updated

almost 6 years ago

docker pull isic/isic-challenge-scoring