mmr12 / TEDM

Novel Diffusion Model (DM) based approach for semi-supervised medical image segmentation.
MIT License
2 stars 1 forks source link

Novel Diffusion Model (DM) based approach for semi-supervised medical image segmentation

Training

python train.py --dataset CXR14 --data_dir <PATH TO CXR14 DATASET>

python train.py --experiment TEDM --data_dir <PATH TO JSRT DATASET> --n_labelled_images <TRAINING SET SIZE>

python train.py --experiment LEDM --data_dir <PATH TO JSRT DATASET> --n_labelled_images <TRAINING SET SIZE>

python train.py --experiment LEDMe --data_dir <PATH TO JSRT DATASET> --n_labelled_images <TRAINING SET SIZE>

python train.py --experiment JSRT_baseline --data_dir <PATH TO JSRT DATASET> --n_labelled_images <TRAINING SET SIZE>

Testing

python auxiliary/postprocessing/run_tests.py --experiment <PATH TO LOG FOLDER>

python auxiliary/postprocessing/testing_shared_weights.py --experiment <PATH TO LOG FOLDER>

Figures and reporting

VS Code notebooks can be found in auxiliary/notebooks_and_reporting.