Skip to content

Commit

Permalink
update tf requirements in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasMBury committed Feb 5, 2025
1 parent 75bdaf5 commit c56279c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions tutorials/tutorial_deep_learning.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
]
},
Expand Down Expand Up @@ -14827,9 +14827,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "metal2",
"display_name": "ewstools",
"language": "python",
"name": "metal2"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -14841,7 +14841,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.1"
"version": "3.10.5"
}
},
"nbformat": 4,
Expand Down

0 comments on commit c56279c

Please sign in to comment.