This repository contains the code for the fMRI data processing described in our research paper. The project focuses on preprocessing fMRI data to generate embeddings suitable for machine learning models, particularly autoencoders.
Install the required packages using the provided env_rw24.yml
file:
conda env create -f env_rw24.yml
conda activate research_workshop
git fetch
git pull origin develop
Run the scripts in the following order:
file_modifications.py
: Handles necessary file modifications.python file_modifications.py
fmri_data_processing.py
: Main script for processing fMRI data.Runpython fmri_data_processing.py
multiprocessor_image_processing.py
if you use a Mac, for faster processing speeds The preprocessed fMRI images will look like this:final_ae.py
: train the model on the images
python final_ae.py