diff --git a/tutorial_deep_learning_basics/deep_learning_basics.ipynb b/tutorial_deep_learning_basics/deep_learning_basics.ipynb index 2b4f48f..81e5ecd 100644 --- a/tutorial_deep_learning_basics/deep_learning_basics.ipynb +++ b/tutorial_deep_learning_basics/deep_learning_basics.ipynb @@ -74,6 +74,28 @@ "Note that there's [tf.keras](https://www.tensorflow.org/guide/keras) (comes with TensorFlow) and there's [Keras](https://keras.io/) (standalone). You should be using [tf.keras](https://www.tensorflow.org/guide/keras) because (1) it comes with TensorFlow so you don't need to install anything extra and (2) it comes with powerful TensorFlow-specific features." ] }, + { + "cell_type": "code", + "metadata": { + "id": "", + "colab_type": "code", + "colab": {} + }, + "source": [ + "%tensorflow_version 1.x" + ], + "execution_count": 1, + "outputs": [ + { + "output_type": "stream", + "text": [ + "TensorFlow 1.x selected.\n" + ], + "name": "stdout" + } + ] + }, + { "cell_type": "code", "execution_count": 6, diff --git a/tutorial_driving_scene_segmentation/tutorial_driving_scene_segmentation.ipynb b/tutorial_driving_scene_segmentation/tutorial_driving_scene_segmentation.ipynb index 8e38eff..9893e49 100644 --- a/tutorial_driving_scene_segmentation/tutorial_driving_scene_segmentation.ipynb +++ b/tutorial_driving_scene_segmentation/tutorial_driving_scene_segmentation.ipynb @@ -44,6 +44,27 @@ "This tutorial demostrates the steps to run DeepLab semantic scene segmentation model on a sample video from MIT Driving Scene Segmentation Dataset." ] }, + { + "cell_type": "code", + "metadata": { + "id": "", + "colab_type": "code", + "colab": {} + }, + "source": [ + "%tensorflow_version 1.x" + ], + "execution_count": 1, + "outputs": [ + { + "output_type": "stream", + "text": [ + "TensorFlow 1.x selected.\n" + ], + "name": "stdout" + } + ] + }, { "cell_type": "code", "execution_count": 1, diff --git a/tutorial_gans/tutorial_gans.ipynb b/tutorial_gans/tutorial_gans.ipynb index 7abdceb..1d432e8 100644 --- a/tutorial_gans/tutorial_gans.ipynb +++ b/tutorial_gans/tutorial_gans.ipynb @@ -71,6 +71,27 @@ "We recommend that you run this this notebook in the cloud on Google Colab. If you have not done so yet, consider following the setup steps in the [Deep Learning Basics tutorial](https://github.com/lexfridman/mit-deep-learning) and reading the [Deep Learning Basics: Introduction and Overview with TensorFlow](https://medium.com/tensorflow/mit-deep-learning-basics-introduction-and-overview-with-tensorflow-355bcd26baf0) blog post." ] }, + { + "cell_type": "code", + "metadata": { + "id": "", + "colab_type": "code", + "colab": {} + }, + "source": [ + "%tensorflow_version 1.x" + ], + "execution_count": 1, + "outputs": [ + { + "output_type": "stream", + "text": [ + "TensorFlow 1.x selected.\n" + ], + "name": "stdout" + } + ] + }, { "cell_type": "code", "execution_count": 1,