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.
- Download and install libtorch on your machine, specify the respective path to its cmake folder in the CMakeLists.txt file inside the lib directory.
- We use conan for easier dependency management.
$ cd conan
$ conan install . --profile=profile_linux --build=missing
Install CUDA SDK toolkit on your machine:
- Install CuDNN Runtime and Development headers and libraries.
- 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"
After configureing and building one can copy data into a folder in the folder where binary file resides.
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
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 |
AmirN: email
MIT