Skip to content

Commit

Permalink
Install: upgraded to TensorFlow v2.11.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
cgohil8 committed May 23, 2024
1 parent 3bc71bb commit 0ae5349
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ If you have already installed `OSL <https://github.com/OHBA-analysis/osl>`_ you
conda activate osl
cd osl-dynamics
pip install tensorflow==2.9.1
pip install tensorflow-probability==0.17
pip install tensorflow==2.11.1
pip install tensorflow-probability==0.19
pip install -e .
Note, if you're using a Mac computer you need to install TensorFlow with ``pip install tensorflow-macos==2.9.1`` instead of ``tensorflow==2.9.1``.
Note, if you're using a Mac computer you need to install TensorFlow with ``pip install tensorflow-macos==2.11.1`` instead of ``tensorflow==2.11.1``.

Removing osl-dynamics
---------------------
Expand Down
10 changes: 5 additions & 5 deletions doc/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ OSL Dynamics can be installed in three steps. Open a Terminal and execute the fo

::

conda create --name osld python=3.10
conda create --name osld python=3.10.14
conda activate osld

Note, this environment must be activated every time you want to use osl-dynamics.
Expand All @@ -23,27 +23,27 @@ OSL Dynamics can be installed in three steps. Open a Terminal and execute the fo

::

pip install tensorflow==2.9.1
pip install tensorflow==2.11.1

If you have GPU resources you may need to install additional libraries (CUDA/cuDNN), see https://www.tensorflow.org/install/pip for detailed instructions.

If you are using an Apple Mac, you will need to use the following instead:

::

pip install tensorflow-macos==2.9.1
pip install tensorflow-macos==2.11.1

If pip can not find the package, then you can try installing TensorFlow with conda:

::

conda install tensorflow=2.9.1
conda install tensorflow=2.11.1

After you have installed TensorFlow, install the tensorflow-probability addon with:

::

pip install tensorflow-probability==0.17
pip install tensorflow-probability==0.19

#. Finally, install osl-dynamics:

Expand Down
8 changes: 4 additions & 4 deletions envs/linux.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: osld
dependencies:
- python=3.10.13
- pip=23.3.1
- python=3.10.14
- pip=24.0
- pip:
- glmtools==0.2.1
- jupyter==1.0.0
Expand All @@ -21,5 +21,5 @@ dependencies:
- seaborn==0.13.0
- tabulate==0.9.0
- tqdm==4.66.1
- tensorflow==2.9.1
- tensorflow-probability==0.17
- tensorflow==2.11.1
- tensorflow-probability==0.19
8 changes: 4 additions & 4 deletions envs/mac.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: osld
dependencies:
- python=3.10.13
- pip=23.3.1
- python=3.10.14
- pip=24.0
- pip:
- glmtools==0.2.1
- jupyter==1.0.0
Expand All @@ -21,5 +21,5 @@ dependencies:
- seaborn==0.13.0
- tabulate==0.9.0
- tqdm==4.66.1
- tensorflow-macos==2.9.1
- tensorflow-probability==0.17
- tensorflow-macos==2.11.1
- tensorflow-probability==0.19

0 comments on commit 0ae5349

Please sign in to comment.