Repository navigation
In this release, we are providing the trained models and data splits used in our study.
The code to run the trained models can be found in run_trained_harmonization_AEs.py, which includes two methods for running experiments that use Autoencoders (AEs) for harmonization:
-
ASD-Standalone-AE
This method runs the Leave-One-Site-Out (LOSO) experiment.
The model is loaded at line 967, so update the path if needed:
path_to_model = os.path.join(model_dir, f'LOSO_{ae_type}_{site}.pth') -
ASD-Standalone-AE-10-fold
This method runs the proportional split experiment.
Be sure to update the path to the proportional split (PROP_SPLIT_PATH) inconfig.py.
The model is loaded at line 1283, so update the path if needed:
path_to_model = os.path.join(model_dir, f'full_model_{ae_type}_ML_RF.pth')