From 0ae53499db63cc93eb51df4880519b12c1747ddf Mon Sep 17 00:00:00 2001 From: Chetan Gohil Date: Thu, 23 May 2024 09:23:07 +0100 Subject: [PATCH] Install: upgraded to TensorFlow v2.11.1. --- README.rst | 6 +++--- doc/install.rst | 10 +++++----- envs/linux.yml | 8 ++++---- envs/mac.yml | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.rst b/README.rst index 58102c03..37e45609 100644 --- a/README.rst +++ b/README.rst @@ -51,11 +51,11 @@ If you have already installed `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 --------------------- diff --git a/doc/install.rst b/doc/install.rst index 78532656..e6efa0e4 100644 --- a/doc/install.rst +++ b/doc/install.rst @@ -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. @@ -23,7 +23,7 @@ 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. @@ -31,19 +31,19 @@ OSL Dynamics can be installed in three steps. Open a Terminal and execute the fo :: - 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: diff --git a/envs/linux.yml b/envs/linux.yml index 180d652a..4fbca76b 100644 --- a/envs/linux.yml +++ b/envs/linux.yml @@ -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 @@ -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 diff --git a/envs/mac.yml b/envs/mac.yml index 246b0f5f..ee0db6a4 100644 --- a/envs/mac.yml +++ b/envs/mac.yml @@ -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 @@ -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