Giter VIP home page Giter VIP logo

minc_keras's Introduction

minc_keras

About

minc_keras is a code base that was developed during a hackathon to facillitate the implementation of deep learning models for brain imaging with the Keras package. It is also used as a hands-on teaching tool for the presentations listed below.

MAIN 2018 :

Collaborators

neurotechx
mcin Presentations were created in collaboration with the MCIN lab and NeuroTechX. NeuroTechX is a non-profit organization whose mission is to facilitate the advancement of neurotechnology by providing key resources and learning opportunities, and by being leaders in local and worldwide technological initiatives. Their 3 pillars are “Community”, “Education”, and “Professional Development”.

Presentations

MAIN 2018:

Presentation

Deep Learning with MRI

Version: 28.08.18

Workshop 1 (Part 1 & 4) -- Deep Learning with MRI
Workshop 1 (Part 2) -- Intro to ML
Workshop 1 (Part 3) -- Intro to Neural Networks

Version: 21.03.18

Workshop 1 -- Deep Learning with MRI (21.3.18)
Workshop 1 -- Intro to ML (21.3.18)

More coming soon...

Installation

Google Colab (best)

Create / Log-in to Google account
Go to https://colab.research.google.com
Download and load: https://www.dropbox.com/s/8uw13lbwbf83c0d/NeuroTech_MTL_28_8_18.ipynb?dl=0

Docker (very easy):

Install docker on your OS: https://docs.docker.com/install/#cloud

docker pull tffunck/neurotech:latest

DIY (pretty easy):

wget https://bootstrap.pypa.io/get-pip.py (Or go to the link and download manually)

python3 get-pip.py

pip3 install pandas numpy scipy h5py matplotlib tensorflow keras

git clone https://github.com/tfunck/minc_keras

Data

Data should be organized in the BIDS format (http://bids.neuroimaging.io/). While the code in this repository is in theory supports HDF5 files, at the moment only the MINC format is supported. Nifti support will be provided in future releases.

Example Data :

data/output/

data/output/sub-01/sub-01_task-01_ses-01_T1w_anat_rsl.mnc

data/output/sub-01/sub-01_task-01_ses-01_variant-seg_rsl.mnc

data/output/sub-02/sub-02_task-01_ses-01_T1w_anat_rsl.mnc

data/output/sub-02/sub-02_task-01_ses-01_variant-seg_rsl.mnc

Useage

Basic Useage:

python3 minc_keras/minc_keras.py --source /path/to/your/data/ --target /path/to/desired/output --epochs --input-str "string that identifies input files" --label-str "string that identifies labeled files" --predict

Example:

python3 minc_keras/minc_keras.py --source minc_keras/data/output/ --target . --epochs 5 --input-str "T1w_anat" --label-str "seg" --predict 1

Support provided by

MNI

Ludmer

MCIN

NeuroTechX

Authors

Thomas Funck ([email protected])

Paul Lemaitre

Andrew Doyle

minc_keras's People

Contributors

bopucky avatar fredlaurin7272 avatar nbelakovski avatar dranaximandre avatar

Watchers

James Cloos avatar

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.