Installation¶
Prerequisites¶
MRF-CRBLoss is a Python package allowing to estimate biophysical parameters from MRF scans. In the following, we describe the steps to follow to get a correct environment to use our package.
conda prerequisites¶
Install Conda. We typically use the Miniconda Python distribution. Use Python version >=3.7.
Create a new conda environment:
conda create -n mrf-env python=3.7
Activate your environment:
source activate mrf-env
python prerequisites¶
Install Python, we prefer the pyenv version management system, along with pyenv-virtualenv.
Install PyTorch. If you have an Nvidia GPU, be sure to install a version of PyTorch that supports it.
Downloading the package¶
clone the repository:
git clone https://github.com/quentin-duchemin/MRF-CRBLoss.git
install the required python packages in the virtualenv:
pip install -r requirements_MRF.txt