Coder Social home page Coder Social logo

🔥 PyTorch extensions

These repositories are small self-contained tools written in pure PyTorch, that I have found useful in many projects.

They are (relatively) stable, as backward-compatible as possible with respect to PyTorch versions, and can be used as core dependencies to higher level projects.

Package Description Readiness
torch-bounds Boundary conditions (circulant, mirror, reflect) and real transforms (DCT, DST) 🟢
torch-interpol High-order spline interpolation 🟢
torch-distmap Euclidean distance transform 🟢
torch-relay Backward-compatible PyTorch functions (work-in-progress) 🔴
torch-diffeo Scaling-and-squaring and Geodesic Shooting layers in PyTorch (work-in-progress) 🟠
jitfields Fast functions for dense scalar and vector fields, implemented using just-in-time compilation 🟠

Note

The last package, jitfields, reimplements many of the utilities from the other core packages, but does it directly in CUDA/C++.

The CUDA/C++ sources are compiled just-in-time using cupy and cppyy.

🧠 Machine Learning for NeuroImaging

These packages underpin my research in medical image computing.

In general, my aim is to write a set of mid-level packages that specialize in various tasks (data augmentation, network architectures, modality-specific tasks, etc.).

Package Description Readiness
cornucopia An abundance of augmentation layers 🟢
nitorch An (overweight and poorly maintained) package for everything neuroimaging 🟠
synthsurf Surface-based image synthesis and PyTorch utilities for triangular surfaces 🟠
braindataprep Download, bidsify and preprocess public datasets (work-in-progress) 🔴

🇳 Numpy tools

Package Description Readiness
variational_staple STAPLE and variants 🟢
optimal_affine Build optimal "subject to mean space" affines from "subject to subject" pairwise affines 🟢
metrics A bunch of metrics 🔴

〽️ Matlab tools

Package Description Readiness
spm_mni_align SPM toolbox to align an image to SPM's template space 🟠
multi-bias Fit a multi-view bias field 🟢
super-resolution MTV-based denoising/super-resolution 🟢
cmaps (Some) Matplotlib colormaps in Matlab 🟢

Tensorflow tools

Package Description Readiness
tfaffine Affine matrices encoded in their Lie algebra, in tensorflow 🟢

Yaël Balbastre's Projects

bart icon bart

BART: Toolbox for Computational Magnetic Resonance Imaging

boundary icon boundary

Preliminary code for sliding boundaries

braindataprep icon braindataprep

Scripts to download, bidsify and preprocess public datasets

cmaps icon cmaps

(Some) Matplotlib colormaps in Matlab

dandi-cli icon dandi-cli

DANDI command line client to facilitate common operations

diffeo-misc icon diffeo-misc

Miscellaneous functions to play with diffeomorphisms (+ other stuff)

gadgetron icon gadgetron

Gadgetron - Medical Image Reconstruction Framework

gpca icon gpca

Probabilistic Generalised PCA

hmri-toolbox icon hmri-toolbox

A toolbox for quantitative MRI and in vivo histology using MRI (hMRI)

jitfields icon jitfields

Fast functions for dense scalar and vector fields, implemented using just-in-time compilation

lab2im icon lab2im

Library for generating images by sampling a GMM conditioned on label maps

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.