Official baseline for Duke DBT detection dataset
The folder with the data downloaded from TCIA is assumed to be /Duke-DBT
.
docker build -t duke-dbt .
docker run --rm --shm-size 8G -it \
-v /Duke-DBT:/data \
-v `pwd`:/duke-dbt-detection \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e DISPLAY \
-p 8889:8889 \
duke-dbt bash
To run jupyter notebook from the container:
jupyter notebook --allow-root --ip=0.0.0.0 --port=8889
python3 preprocess.py
python3 train.py
python3 inference.py --weights ./yolo.pt --predictions ./predictions.csv
python3 postprocess.py --predictions ./predictions.csv --output ./predictions.csv
python3 evaluate.py --predictions ./predictions.csv
FROC curve from evaluation is saved as froc.png
.