GithubHelp home page GithubHelp logo

sd3004 / st-fmri Goto Github PK

View Code? Open in Web Editor NEW

This project forked from metrics-lab/st-fmri

1.0 0.0 0.0 31 KB

This repository contains code for spatio-temporal deep learning on functional MRI data

Python 100.00%

st-fmri's Introduction

ST-fMRI

This repository contains PyTorch code for spatio-temporal deep learning on functional MRI data for phenotyping prediction. The original work was published at MLCN 2021:

Improving Phenotype Prediction using Long-Range Spatio-Temporal Dynamics of Functional Connectivity

Downloading HCP Dataset

HCP data can be directly downloaded from Human Connectome Project

Installation

For PyTorch and dependencies installation, please follow instructions in install.md

Preprocessing

In the folder /data/:

python preprocessing_nodetimeseries.py  subjects.txt 25 /data/HCP/rfMRI ../outputs/

Training Brain-MS-G3D

For sex classification

python ./tools/train_node_timeseries.py --nodes 25 --bs 64 --epochs 100 --gpu 0 --windows 100 --data_path path_to_data

For fluid intelligence regression

python ./tools/train_node_timeseries.py --nodes 25 --bs 64 --epochs 100 --gpu 0 --windows 100 --fluid --data_path path_to_data

Tensorboard

Starting tensorboard visualisation

tensorboard --logdir ./logs/MS-G3D/

Docker support

Coming soon

References

This repository is based on the following repositories:

and

Citation

Please cite this work if you found it useful:

@misc{dahan2021improving,
      title={Improving Phenotype Prediction using Long-Range Spatio-Temporal Dynamics of Functional Connectivity}, 
      author={Simon Dahan and Logan Z. J. Williams and Daniel Rueckert and Emma C. Robinson},
      year={2021},
      eprint={2109.03115},
      archivePrefix={arXiv},
      primaryClass={q-bio.NC}
      }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.