The code release of paper 'Domain Generalization for Medical Imaging Classification with Linear-Dependency Regularization' NeurIPS 2020. The pre-print paper can be found in Arxiv.
First, you need to install the package surface-distance https://github.com/deepmind/surface-distance and SimpleITK
pip install SimpleITK
Then run the following command to train and evaluate the performance of the model
python3 train_lddg.py -t i
where i means set_i is the target domain.