Skip to content

Commit e16cd0d

Browse files
Merge pull request #2024 from chunduriv:patch-5
PiperOrigin-RevId: 428867218
2 parents 590161c + 2a5a3bd commit e16cd0d

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

site/en/install/pip.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ <h3>Older versions of TensorFlow</h3>
2626

2727
<h3>System requirements</h3>
2828
<ul>
29-
<li>Python 3.7–3.9
29+
<li>Python 3.7–3.10
3030
<ul>
31+
<li>Python 3.10 support requires TensorFlow 2.8 or later.</li>
3132
<li>Python 3.9 support requires TensorFlow 2.5 or later.</li>
3233
<li>Python 3.8 support requires TensorFlow 2.2 or later.</li>
3334
</ul>
@@ -65,7 +66,7 @@ <h2>1. Install the Python development environment on your system</h2>
6566
Check if your Python environment is already configured:
6667
</p>
6768

68-
<aside class="note">Requires Python 3.7–3.9, and pip &gt;= 19.0</aside>
69+
<aside class="note">Requires Python 3.7–3.10, and pip &gt;= 19.0</aside>
6970

7071
<pre class="prettyprint lang-bsh">
7172
<code class="devsite-terminal">python3 --version</code>

site/en/tutorials/customization/custom_training_walkthrough.ipynb

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,6 @@
260260
"id": "PD33PxSmCrtL"
261261
},
262262
"source": [
263-
"\n",
264263
"### Download the preprocessed dataset\n",
265264
"\n",
266265
"Now, download the preprocessed penguins dataset (`penguins/processed`) with the `tfds.load` method, which returns a list of `tf.data.Dataset` objects. Note that the `penguins/processed` dataset doesn't come with its own test set, so use an 80:20 split to [slice the full dataset](https://www.tensorflow.org/datasets/splits) into the training and test sets. You will use the test dataset later to verify your model."
@@ -348,7 +347,6 @@
348347
"id": "LsaVrtNM3Tx5"
349348
},
350349
"source": [
351-
"\n",
352350
"## Build a simple linear model\n",
353351
"\n",
354352
"### Why model?\n",
@@ -793,7 +791,6 @@
793791
"id": "z-EvK7hGL0d8"
794792
},
795793
"source": [
796-
"\n",
797794
"### Set up the test set\n",
798795
"\n",
799796
"Evaluating the model is similar to training the model. The biggest difference is the examples come from a separate *[test set](https://developers.google.com/machine-learning/crash-course/glossary#test_set)* rather than the training set. To fairly assess a model's effectiveness, the examples used to evaluate a model must be different from the examples used to train the model.\n",
@@ -903,24 +900,12 @@
903900
" name = class_names[class_idx]\n",
904901
" print(\"Example {} prediction: {} ({:4.1f}%)\".format(i, name, 100*p))"
905902
]
906-
},
907-
{
908-
"cell_type": "code",
909-
"execution_count": null,
910-
"metadata": {
911-
"id": "NpCnZDaycIkY"
912-
},
913-
"outputs": [],
914-
"source": [
915-
""
916-
]
917903
}
918904
],
919905
"metadata": {
920906
"colab": {
921907
"collapsed_sections": [],
922908
"name": "custom_training_walkthrough.ipynb",
923-
"provenance": [],
924909
"toc_visible": true
925910
},
926911
"kernelspec": {

0 commit comments

Comments
 (0)