Skip to content

AE-fMRI-Harmonization-V1.0

Latest

Choose a tag to compare

@falmuqhim falmuqhim released this 02 Sep 14:31
· 6 commits to main since this release
47edcd8

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:

  1. 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')

  2. 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) in config.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')