Giter VIP home page Giter VIP logo

fastmricpp's Introduction

FastMRI Visualization

A project for working with FastMRI database. The goal is to implement an opensouce, fast, c++ based visualization and training toolkit for FastMRI database. The backend used in this project is libTroch.

Installation

  1. Download and install libtorch on your machine, specify the respective path to its cmake folder in the CMakeLists.txt file inside the lib directory.
  2. We use conan for easier dependency management.
  $ cd conan
  $ conan install . --profile=profile_linux --build=missing

CUDA and Deeplearning

Install CUDA SDK toolkit on your machine:

  1. Install CuDNN Runtime and Development headers and libraries.
  2. Download and install libtorch on your machine, specify the respective path to its cmake folder in the CMakeLists.txt file inside the lib directory (i.e. $HOME/Library/libTorch/1.10.1/share/cmake/Torch). In macos because of rpath problems, one should add DYLD_FALLBACK_LIBRARY_PATH variable as an enviornemt variable. (TODO: RPATH needs fixing.)
$ export DYLD_FALLBACK_LIBRARY_PATH="$HOME/Library/libTorch/1.10.1/lib:$DYLD_FALLBACK_LIBRARY_PATH"

Data

After configureing and building one can copy data into a folder in the folder where binary file resides.

How to Files

The FastMRI database collects the .h5 files in tar.gz files. To be able to extract a file, one can simply list the files inside the archive and then extract the desired file.

(In macos install gnu-tar and use gtar command instead.)

$ tar -ztf brain_multicoil_train.tar.gz
$ tar --extract --occurrence=1 \
--file brain_multicoil_train.tar.gz \
--directory ~/Data/FastMRI \
multicoil_train/file_brain_AXFLAIR_200_6002425.h5

Libraries and Dependencies

Name Licence
Boost Boost Software License
Catch2 Boost Software License
Eigen Mozilla Public License 2.0
wxWidgets wxWindows Library Licence
Gtk/Gtkmm4 LGPL
h5pp MIT

Maintainer

AmirN: email

License

MIT

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.