Skip to content

SD3004/sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b243e0d · Mar 7, 2025

History

10 Commits
Mar 7, 2025
Mar 7, 2025
Mar 7, 2025
Mar 7, 2025
Mar 7, 2025
Mar 7, 2025
Mar 7, 2025

Repository files navigation

SIM: Surface-based fMRI Analysis for Inter-Subject Multimodal Decoding from Movie-Watching Experiments

This repo contains the code for SIM: Surface-based fMRI Analysis for Inter-Subject Multimodal Decoding from Movie-Watching Experiments

V 0.1 - 07.05.25 Initial commits
  • Adding basis of the SIM codebase for tri-modal alignment

Installation & Set-up

1. Conda installation

For cuda usage and python dependencies installation please follow instructions in install.md.

Training

The training commands are run using torchrun and using config files located under /config/.

fMRI & Video & Audio

For training the SIM pipeline with all three modalities, please run:

cd tools/
torchrun --nproc_per_node=1 --nnodes=1  train_fmri_clip_ddp.py ../config/CLIP-fmri-video-audio/hparams.yml 

fMRI & Video

For training the SIM pipeline with fMRI and video modalities, please run:

cd tools/
torchrun --nproc_per_node=1 --nnodes=1  train_fmri_clip_ddp.py ../config/CLIP-video/hparams.yml 

fMRI & Video & Audio

For training the SIM pipeline with fMRI and audio modalities, please run:

cd tools/
torchrun --nproc_per_node=1 --nnodes=1  train_fmri_clip_ddp.py ../config/CLIP-audio/hparams.yml 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages