-
Download Camlyon17 slides from https://camelyon17.grand-challenge.org/Data/
-
From
CAMELYON17/trainingextract the 50 slides with lesion-level annotations contained inlesion_annotations.zip -
Generate tiles by using the preprocessing pipeline from https://github.com/DBO-DKFZ/wsi_preprocessing
v0.1
Use the config provided underconfigs/preprocessing/config.jsonand set the correct paths for slides, annotations and output
- Set the system's path variables for "DATASET_LOCATION" and "EXPERIMENT_LOCATION". One way is to insert the following lines into your
.bashrcfile:
export DATASET_LOCATION=YOUR_PATH
export EXPERIMENT_LOCATION=YOUR_PATH
-
Install Miniconda
-
Create conda environment
conda env create -f environment.yml -
Run train script
Example:python train.py --config configs/final/strong/resnet.yaml
The train script by default runs evaluation on the best performing model checkpoint. Predicitions on test splits are stored in{env:EXPERIMENT_LOCATION}/RUN_NAME/VERSION/predictions/