Upgrade to TensorFlow 2.8
parent
b658ab40c0
commit
a2f8391951
|
@ -77,7 +77,7 @@
|
||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
"And TensorFlow ≥ 2.7:"
|
"And TensorFlow ≥ 2.8:"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -88,7 +88,7 @@
|
||||||
"source": [
|
"source": [
|
||||||
"import tensorflow as tf\n",
|
"import tensorflow as tf\n",
|
||||||
"\n",
|
"\n",
|
||||||
"assert tf.__version__ >= \"2.7.0\""
|
"assert tf.__version__ >= \"2.8.0\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -77,7 +77,7 @@
|
||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
"And TensorFlow ≥ 2.6:"
|
"And TensorFlow ≥ 2.8:"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -88,7 +88,7 @@
|
||||||
"source": [
|
"source": [
|
||||||
"import tensorflow as tf\n",
|
"import tensorflow as tf\n",
|
||||||
"\n",
|
"\n",
|
||||||
"assert tf.__version__ >= \"2.6.0\""
|
"assert tf.__version__ >= \"2.8.0\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -59,7 +59,7 @@
|
||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
"And TensorFlow ≥ 2.6:"
|
"And TensorFlow ≥ 2.8:"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -70,7 +70,7 @@
|
||||||
"source": [
|
"source": [
|
||||||
"import tensorflow as tf\n",
|
"import tensorflow as tf\n",
|
||||||
"\n",
|
"\n",
|
||||||
"assert tf.__version__ >= \"2.6.0\""
|
"assert tf.__version__ >= \"2.8.0\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -77,7 +77,7 @@
|
||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
"And TensorFlow ≥ 2.6:"
|
"And TensorFlow ≥ 2.8:"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -88,7 +88,7 @@
|
||||||
"source": [
|
"source": [
|
||||||
"import tensorflow as tf\n",
|
"import tensorflow as tf\n",
|
||||||
"\n",
|
"\n",
|
||||||
"assert tf.__version__ >= \"2.7.0\""
|
"assert tf.__version__ >= \"2.8.0\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -94,7 +94,7 @@
|
||||||
"id": "GJtVEqxfpKzw"
|
"id": "GJtVEqxfpKzw"
|
||||||
},
|
},
|
||||||
"source": [
|
"source": [
|
||||||
"And TensorFlow ≥ 2.6:"
|
"And TensorFlow ≥ 2.8:"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -107,7 +107,7 @@
|
||||||
"source": [
|
"source": [
|
||||||
"import tensorflow as tf\n",
|
"import tensorflow as tf\n",
|
||||||
"\n",
|
"\n",
|
||||||
"assert tf.__version__ >= \"2.6.0\""
|
"assert tf.__version__ >= \"2.8.0\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -88,7 +88,7 @@
|
||||||
"id": "GJtVEqxfpKzw"
|
"id": "GJtVEqxfpKzw"
|
||||||
},
|
},
|
||||||
"source": [
|
"source": [
|
||||||
"And TensorFlow ≥ 2.6:"
|
"And TensorFlow ≥ 2.8:"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -101,7 +101,7 @@
|
||||||
"source": [
|
"source": [
|
||||||
"import tensorflow as tf\n",
|
"import tensorflow as tf\n",
|
||||||
"\n",
|
"\n",
|
||||||
"assert tf.__version__ >= \"2.6.0\""
|
"assert tf.__version__ >= \"2.8.0\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -98,7 +98,7 @@
|
||||||
"id": "GJtVEqxfpKzw"
|
"id": "GJtVEqxfpKzw"
|
||||||
},
|
},
|
||||||
"source": [
|
"source": [
|
||||||
"And TensorFlow ≥ 2.6:"
|
"And TensorFlow ≥ 2.8:"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -111,7 +111,7 @@
|
||||||
"source": [
|
"source": [
|
||||||
"import tensorflow as tf\n",
|
"import tensorflow as tf\n",
|
||||||
"\n",
|
"\n",
|
||||||
"assert tf.__version__ >= \"2.6.0\""
|
"assert tf.__version__ >= \"2.8.0\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -100,7 +100,7 @@
|
||||||
"id": "GJtVEqxfpKzw"
|
"id": "GJtVEqxfpKzw"
|
||||||
},
|
},
|
||||||
"source": [
|
"source": [
|
||||||
"And TensorFlow ≥ 2.6:"
|
"And TensorFlow ≥ 2.8:"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -113,7 +113,7 @@
|
||||||
"source": [
|
"source": [
|
||||||
"import tensorflow as tf\n",
|
"import tensorflow as tf\n",
|
||||||
"\n",
|
"\n",
|
||||||
"assert tf.__version__ >= \"2.6.0\""
|
"assert tf.__version__ >= \"2.8.0\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -100,7 +100,7 @@
|
||||||
"id": "GJtVEqxfpKzw"
|
"id": "GJtVEqxfpKzw"
|
||||||
},
|
},
|
||||||
"source": [
|
"source": [
|
||||||
"And TensorFlow ≥ 2.6:"
|
"And TensorFlow ≥ 2.8:"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -113,7 +113,7 @@
|
||||||
"source": [
|
"source": [
|
||||||
"import tensorflow as tf\n",
|
"import tensorflow as tf\n",
|
||||||
"\n",
|
"\n",
|
||||||
"assert tf.__version__ >= \"2.6.0\""
|
"assert tf.__version__ >= \"2.8.0\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -100,7 +100,7 @@
|
||||||
"id": "GJtVEqxfpKzw"
|
"id": "GJtVEqxfpKzw"
|
||||||
},
|
},
|
||||||
"source": [
|
"source": [
|
||||||
"And TensorFlow ≥ 2.6:"
|
"And TensorFlow ≥ 2.8:"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -113,7 +113,7 @@
|
||||||
"source": [
|
"source": [
|
||||||
"import tensorflow as tf\n",
|
"import tensorflow as tf\n",
|
||||||
"\n",
|
"\n",
|
||||||
"assert tf.__version__ >= \"2.6.0\""
|
"assert tf.__version__ >= \"2.8.0\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -33,11 +33,11 @@ dependencies:
|
||||||
- pip:
|
- pip:
|
||||||
- tensorboard-plugin-profile~=2.5.0 # profiling plugin for TensorBoard
|
- tensorboard-plugin-profile~=2.5.0 # profiling plugin for TensorBoard
|
||||||
- tensorboard~=2.8.0 # TensorFlow's visualization toolkit
|
- tensorboard~=2.8.0 # TensorFlow's visualization toolkit
|
||||||
- tensorflow-addons~=0.15.0 # used in chapters 11 & 16 (for AdamW & seq2seq)
|
- tensorflow-addons~=0.16.1 # used in chapters 11 & 16 (for AdamW & seq2seq)
|
||||||
- tensorflow-datasets~=4.5.2 # datasets repository, ready to use
|
- tensorflow-datasets~=4.5.2 # datasets repository, ready to use
|
||||||
- tensorflow-hub~=0.12.0 # trained ML models repository, ready to use
|
- tensorflow-hub~=0.12.0 # trained ML models repository, ready to use
|
||||||
- tensorflow-serving-api~=2.7.0 # or tensorflow-serving-api-gpu if gpu
|
- tensorflow-serving-api~=2.8.0 # or tensorflow-serving-api-gpu if gpu
|
||||||
- tensorflow~=2.7.1 # Deep Learning library
|
- tensorflow~=2.8.0 # Deep Learning library
|
||||||
- transformers~=4.16.2 # Natural Language Processing lib for TF or PyTorch
|
- transformers~=4.16.2 # Natural Language Processing lib for TF or PyTorch
|
||||||
- urlextract~=1.5.0 # optionally used in chapter 3, exercise 4
|
- urlextract~=1.5.0 # optionally used in chapter 3, exercise 4
|
||||||
- gym[atari,accept-rom-license]~=0.21.0 # used only in chapter 18
|
- gym[atari,accept-rom-license]~=0.21.0 # used only in chapter 18
|
||||||
|
|
|
@ -27,9 +27,9 @@ transformers~=4.16.2
|
||||||
# you must install CUDA, cuDNN and more: see tensorflow.org for the detailed
|
# you must install CUDA, cuDNN and more: see tensorflow.org for the detailed
|
||||||
# installation instructions.
|
# installation instructions.
|
||||||
|
|
||||||
tensorflow~=2.7.1
|
tensorflow~=2.8.0
|
||||||
# Optional: the TF Serving API library is just needed for chapter 18.
|
# Optional: the TF Serving API library is just needed for chapter 18.
|
||||||
tensorflow-serving-api~=2.7.0 # or tensorflow-serving-api-gpu if gpu
|
tensorflow-serving-api~=2.8.0 # or tensorflow-serving-api-gpu if gpu
|
||||||
|
|
||||||
tensorboard~=2.8.0
|
tensorboard~=2.8.0
|
||||||
tensorboard-plugin-profile~=2.5.0
|
tensorboard-plugin-profile~=2.5.0
|
||||||
|
@ -37,7 +37,7 @@ tensorflow-datasets~=4.5.2
|
||||||
tensorflow-hub~=0.12.0
|
tensorflow-hub~=0.12.0
|
||||||
|
|
||||||
# Optional: used in chapters 11 & 16 (for AdamW & seq2seq)
|
# Optional: used in chapters 11 & 16 (for AdamW & seq2seq)
|
||||||
tensorflow-addons~=0.15.0
|
tensorflow-addons~=0.16.1
|
||||||
|
|
||||||
##### Reinforcement Learning library (chapter 18)
|
##### Reinforcement Learning library (chapter 18)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue