From c56279cfecdd183b0fda8e9cd5dff2eac8630b83 Mon Sep 17 00:00:00 2001 From: ThomasMBury Date: Tue, 4 Feb 2025 21:04:25 -0500 Subject: [PATCH] update tf requirements in readme --- README.md | 2 +- tutorials/tutorial_deep_learning.ipynb | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ac60a1a..8fa2b46 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ Package dependencies are 'statsmodels>=0.9.0', 'scipy>=1.0.1', ``` -and should be installed automatically. To use the deep learning functionality, you will need to install [TensorFlow](https://www.tensorflow.org/install) with version later than 2.0 and earlier than 2.12. +and should be installed automatically. To use the deep learning functionality, you will need to install [TensorFlow](https://www.tensorflow.org/install) with version later than 2.10 and earlier than 2.16. To install the latest *development* version, use the command ```bash diff --git a/tutorials/tutorial_deep_learning.ipynb b/tutorials/tutorial_deep_learning.ipynb index bcd565f..ac3743f 100644 --- a/tutorials/tutorial_deep_learning.ipynb +++ b/tutorials/tutorial_deep_learning.ipynb @@ -336,8 +336,8 @@ } ], "source": [ - "# classifier_path = '../saved_classifiers/bury_pnas_21/len500/best_model_1_1_len500.pkl' # old keras formt TF<=12\n", - "classifier_path = '../saved_classifiers/bury_pnas_21/len500/best_model_1_1_len500.keras' # newer keras format TF>=15\n", + "# classifier_path = '../saved_classifiers/bury_pnas_21/len500/best_model_1_1_len500.pkl' # exported using TF version = 2.12 (legacy)\n", + "classifier_path = '../saved_classifiers/bury_pnas_21/len500/best_model_1_1_len500.keras' # exported using TF version = 2.15\n", "classifier = load_model(classifier_path)" ] }, @@ -14827,9 +14827,9 @@ ], "metadata": { "kernelspec": { - "display_name": "metal2", + "display_name": "ewstools", "language": "python", - "name": "metal2" + "name": "python3" }, "language_info": { "codemirror_mode": { @@ -14841,7 +14841,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.1" + "version": "3.10.5" } }, "nbformat": 4,