The official codebase for the TAIX-Ray paper.
Please see our paper for a detailed description: TAIX-Ray Paper
git clone https://github.com/TruhnLab/TAIX-Ray.git
cd TAIX-RayCreate a conda environment and install the required dependencies:
conda env create -f environment.yaml
conda activate taix-rayThe dataset can be downloaded from Hugging Face: TAIX-Ray Dataset
Update the dataset path in the following file:
cxr/data/datasets/cxr_dataset.pyRun the dataset verification script:
python tests/data/test_dataset.pyTrain models using the following commands:
python scripts/main_train.py --task binary --model MSTpython scripts/main_train.py --task ordinal --model MST --regressionPretrained model checkpoints can be downloaded from: TAIX-Ray Models
python scripts/main_predict_binary.py --path_run path/to/checkpoint.ckptpython scripts/main_predict_ordinal.py --path_run path/to/checkpoint.ckptIf you use this work in your research, please cite:
@article{truhn_comprehensive_2026,
title = {A comprehensive bedside chest radiography dataset with structured, itemized and graded radiologic reports},
volume = {13},
issn = {2052-4463},
url = {https://www.nature.com/articles/s41597-026-07271-7},
doi = {10.1038/s41597-026-07271-7},
journal = {Scientific Data},
author = {Truhn, Daniel and Geiger, Daniel and Siepmann, Robert and Von Der Stück, Marc Sebastian and Bressem, Keno Kyrill and Kather, Jakob Nikolas and Kuhl, Christiane and Müller-Franzes, Gustav and Nebelung, Sven},
year = {2026},
pages = {632},
}