Skip to main content

A collection of TensorFlow add-ons for computational MRI.

Project description

TFMR logo

pypi build docs doi

TensorFlow MRI (TFMR) is a Python library for MR image reconstruction and processing. TFMR provides:

  • A selection of differentiable operators for accelerated image reconstruction, Cartesian and non-Cartesian k-space sampling, and many other common MR image and signal processing tasks.

  • Keras callbacks, layers, metrics and losses and other utilities for the creation, training and evaluation of machine learning models.

TFMR is aimed for scientists and researchers working with MRI data. Whether you are planning to use machine learning or not, TFMR enables prototyping and deployment of efficient computational MRI solutions easily and within Python.

Thanks to the use of a TensorFlow backend, TFMR integrates seamlessly in machine learning projects. It also inherits other benefits of TensorFlow, including high performance computation and GPU acceleration.

Installation

You can install TensorFlow MRI with pip:

$ pip install tensorflow-mri

Note that only Linux is currently supported.

TensorFlow Compatibility

Each TensorFlow MRI release is compiled against a specific version of TensorFlow. To ensure compatibility, it is recommended to install matching versions of TensorFlow and TensorFlow MRI according to the table below.

TensorFlow MRI Version

TensorFlow Compatibility

Release Date

v0.8.0

v2.7.x

Nov 11, 2021

v0.7.0

v2.6.x

Nov 3, 2021

v0.6.2

v2.6.x

Oct 13, 2021

v0.6.1

v2.6.x

Sep 30, 2021

v0.6.0

v2.6.x

Sep 28, 2021

v0.5.0

v2.6.x

Aug 29, 2021

v0.4.0

v2.6.x

Aug 18, 2021

Documentation

Visit the docs for the API reference and examples of usage.

Contributions

If you use this package and something does not work as you expected, please file an issue describing your problem. We will do our best to help.

Contributions are very welcome. Please create a pull request if you would like to make a contribution.

Citation

If you find this software useful in your work, please cite us.

FAQ

When trying to install TensorFlow MRI, I get an error about OpenEXR which includes: ``OpenEXR.cpp:36:10: fatal error: ImathBox.h: No such file or directory``. What do I do?

OpenEXR is needed by TensorFlow Graphics, which is a dependency of TensorFlow MRI. This issue can be fixed by installing the OpenEXR library. On Debian/Ubuntu:

$ apt install libopenexr-dev

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

tensorflow_mri-0.8.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (149.4 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

tensorflow_mri-0.8.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (149.4 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

tensorflow_mri-0.8.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (149.4 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.12+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page