After downloading the dataset from here, put the train/test data (original dcm files) in the corresponding workdir "path to train" and "path to test".
Run the script on NIH-AAPM dataset.
python main.py
If you want to test the model which has been trained on the NIH-AAPM dataset, turn off and "trainer.train()" and turn on "trainer.inference()", then download the pretrained model here, put it under the subdirectory ./results/models/, and run the script as follows.
python main.py
If you use our code or models in your work or find it is helpful, please cite the corresponding paper:
@inproceedings{wang2022dudotrans,
title={DuDoTrans: Dual-Domain Transformer for Sparse-View CT Reconstruction},
author={Wang, Ce and Shang, Kun and Zhang, Haimiao and Li, Qian and Zhou, S Kevin},
booktitle={International Workshop on Machine Learning for Medical Image Reconstruction},
year={2022}
}
$ claude mcp add DuDoTrans \
-- python -m otcore.mcp_server <graph>