Skip to content

Commit

Permalink
tf 1.3 -> 1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
wyli committed Apr 18, 2018
1 parent c75c116 commit be7c2b3
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ pip-installer:
- set -e
- cd $venv_dir
# install TF
- pip install tensorflow-gpu==1.3
- pip install tensorflow-gpu==1.7
# install using built NiftyNet wheel
- pip install $niftynet_wheel
# install SimpleITK for package importer test to work properly
Expand Down Expand Up @@ -394,7 +394,7 @@ pip-installer:
- set -e
- cd $venv_dir
# install TF
- pip install tensorflow-gpu==1.3
- pip install tensorflow-gpu==1.7
# install using built NiftyNet wheel
- pip install $niftynet_wheel
# install SimpleITK for package importer test to work properly
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ NiftyNet release notes are available [here][changelog].
### Installation

1. Please install the appropriate [TensorFlow][tf] package*:
* [`pip install tensorflow-gpu==1.3`][tf-pypi-gpu] for TensorFlow with GPU support
* [`pip install tensorflow==1.3`][tf-pypi] for CPU-only TensorFlow
* [`pip install tensorflow-gpu==1.7`][tf-pypi-gpu] for TensorFlow with GPU support
* [`pip install tensorflow==1.7`][tf-pypi] for CPU-only TensorFlow
1. [`pip install niftynet`](https://pypi.org/project/NiftyNet/)

<sup>*All other NiftyNet dependencies are installed automatically as part of the pip installation process.</sup>
Expand Down
2 changes: 1 addition & 1 deletion doc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ nibabel>=2.1.0
numpy>=1.12
scipy>=0.18
configparser
tensorflow==1.3
tensorflow==1.7
pandas
pillow
blinker
2 changes: 1 addition & 1 deletion niftynet/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
' able to use NiftyNet.')

try:
minimal_required_version = "1.3"
minimal_required_version = "1.7"
tf_version = tf.__version__
if tf_version < minimal_required_version:
tf.logging.fatal('TensorFlow %s or later is required.'
Expand Down
2 changes: 1 addition & 1 deletion requirements-cpu.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ nibabel>=2.1.0
numpy>=1.12
scipy>=0.18
configparser
tensorflow==1.3
tensorflow==1.7
pandas
pillow
blinker
2 changes: 1 addition & 1 deletion requirements-gpu.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ nibabel>=2.1.0
numpy>=1.12
scipy>=0.18
configparser
tensorflow-gpu==1.3
tensorflow-gpu==1.7
pandas
pillow
blinker

0 comments on commit be7c2b3

Please sign in to comment.