After conda install, follow the install.sh
script. we provide a torch environment.
source install.sh
Then, install a torch-radon for fan-beam simulation.
you can find other dependencies in requirements.txt
.
-
If you use your own dataset for the training, you can set your data directory at './configs/ve/AAPM_256_ncsnpp_continuous.py'
-
Run the following command for the train.
sh train.sh
-
If you use your own dataset for the sampling, please put them in './sample'
-
Run the following command for the test.
python run_CT_recon.py
Code is heavily based on score-mri and MCG.
We highly appreciate your support for sharing code.