InstallationΒΆ
Installing the appropriate TensorFlow package:
pip install "tensorflow==1.15.*"
Installing NiftyNet package
Option 1. released version from PyPI:
pip install niftynet
Option 2. latest dev version from source code repository:
git clone https://github.com/NifTK/NiftyNet.git # installing dependencies from the list of requirements cd NiftyNet/ pip install -r requirements.txt
Alternatively, you can download the code as a .zip file and extract it.
(Optional) Accessing MetaImage format (
.mha/.mhd
files) requires SimpleITK:pip install SimpleITK