This repository contains the code to reproduce all evaluations in the paper "PASSION for Dermatology: Bridging the Diversity Gap with Pigmented Skin Images from Sub-Saharan Africa".
Run make
for a list of possible targets.
Run this command for installation
make install
To reproduce our experiments, we list the detailed comments needed for replicating each experiment below. Note that our experiments were run on a DGX Workstation 1. If less computational power is available, this would require adaptations of the configuration file.
python -m src.evaluate_experiments --config_path configs/default.yaml --exp1 --exp2
python -m src.evaluate_experiments --config_path configs/default.yaml --exp3 --exp4
black
for code styleisort
for import sorting- docstring style:
sphinx
pytest
for running tests
To set up your dev environment run:
pip install -r requirements.txt
# install pre-commit hooks
pre-commit install