message: Fix TensorFlow Lite micro_speech training Colab
diff: "nbformat_minor": 0,
  "metadata": {
  "colab": {
  - "name": "speech_commands training",
  + "name": "Train simple audio recognition model",
  "version": "0.3.2",
  "provenance": [],
  "collapsed_sections": []
  " <td>\n",
  " <a target=\"_blank\" href=\"https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/experimental/micro/examples/micro_speech/train_speech_model.ipynb\"><img src=\"https://www.tensorflow.org/images/GitHub-Mark-32px.png\" />View source on GitHub</a>\n",
  " </td>\n",
  - "</table>\n",
  - "\n",
  - "\n",
  - "\n",
  + "</table>\n"
  + ]
  + },
  + {
  + "cell_type": "markdown",
  + "metadata": {
  + "id": "XaVtYN4nlCft",
  + "colab_type": "text"
  + },
  + "source": [
  "The notebook runs Python scripts to train and freeze the model, and uses the TensorFlow Lite converter to convert it for use with TensorFlow Lite for Microcontrollers.\n",
  "\n",
  "**Training is much faster using GPU acceleration.** Before you proceed, ensure you are using a GPU runtime by going to **Runtime -> Change runtime type** and selecting **GPU**. Training 18,000 iterations will take 1.5-2 hours on a GPU runtime.\n",
  "source": [
  "## Install dependencies\n",
  "\n",
  - "Next, we'll install a GPU build of TensorFlow, so we can use GPU acceleration for training. We also clone the TensorFlow repository, which contains the scripts that train and freeze the model."
  + "Next, we'll install a GPU build of TensorFlow, so we can use GPU acceleration for training."
  ]
  },
  {
  "colab": {}
  },
  "source": [
  - "# Install the nightly build\n",
  - "!pip install -q tf-nightly-gpu==1.15.0.dev20190729\n",
  - "!git clone https://github.com/tensorflow/tensorflow"
  + "# Replace Colab's default TensorFlow install with a more recent\n",
  + "# build that contains the operations that are needed for training\n",
  + "!pip uninstall -y tensorflow tensorflow_estimator\n",
  + "!pip install -q tf-estimator-nightly==1.14.0.dev2019072901 tf-nightly-gpu==1.15.0.dev20190729"
  + ],
  + "execution_count": 0,
  + "outputs": []
  + },
  + {
  + "cell_type": "markdown",
  + "metadata": {
  + "id": "T9Ty5mR58E4i",
  + "colab_type": "text"
  + },
  + "source": [
  + "We'll also clone the TensorFlow repository, which contains the scripts that train and freeze the model."
  + ]
  + },
  + {
  + "cell_type": "code",
  + "metadata": {
  + "id": "APGx0fEh7hFF",
  + "colab_type": "code",
  + "colab": {}
  + },
  + "source": [
  + "# Clone the repository from GitHub\n",
  + "!git clone -q https://github.com/tensorflow/tensorflow\n",
  + "# Check out a commit that has been tested to work\n",
  + "# with the build of TensorFlow we're using\n",
  + "!git -c advice.detachedHead=false -C tensorflow checkout 17ce384df70"
  ],
  "execution_count": 0,
  "outputs": []
  