NifTK / NiftyNetModelZoo

[unmaintained] This repository hosts NiftyNet networks pre-trained for specific tasks
http://niftynet.io
Apache License 2.0
50 stars 26 forks source link

Latest version of numpy is not compatible with requested version of TensorFlow in requirements files #10

Closed stian-johnsen closed 5 years ago

stian-johnsen commented 5 years ago

When setting up the NiftyNet environment for use with a git-clone of the repo, using the recommended "pip install -r" method, one runs into the problem of the latest version of numpy (1.15) not being compatible with the version of TensorFlow that is to be installed (1.10). This leads to the install of TensorFlow failing. The problem can be easily fixed by replacing the lines in requirements-{c,g}pu.txt that read: "numpy>=1.12" with "numpy==1.14.5" (the most recent version of numpy supported by TensorFlow 1.10).