/CarND-TensorFlow-Lab

TensorFlow Lab for Self-Driving Car ND

Primary LanguageJupyter Notebook

TensorFlow Neural Network Lab

Udacity - Self-Driving Car NanoDegree

notMNIST dataset samples

We've prepared a Jupyter notebook that will guide you through the process of creating a single layer neural network in TensorFlow.

Windows Instructions

Install Docker

If you don't have Docker already, download and install Docker from here.

Clone the Repository

Run the command below to clone the Lab Repository:

$ git clone https://github.com/udacity/CarND-TensorFlow-Lab.git

Run the Notebook using Docker

Run the following command from the same directory as the command above.

$ docker run -it -p 8888:8888 -v `pwd`:/notebooks udacity/carnd-tensorflow-lab

View The Notebook

Open a browser window and go here. This is the notebook you'll be working on. The notebook has 3 problems for you to solve:

  • Problem 1: Normalize the features
  • Problem 2: Use TensorFlow operations to create features, labels, weight, and biases tensors
  • Problem 3: Tune the learning rate, number of steps, and batch size for the best accuracy

This is a self-assessed lab. Compare your answers to the solutions here. If you have any difficulty completing the lab, Udacity provides a few services to answer any questions you might have.

OS X and Linux Instructions

Install Anaconda

This lab requires Anaconda and Python 3.4 or higher. If you don't meet all of these requirements, install the appropriate package(s).

Run the Anaconda Environment

Run these commands in your terminal to install all the requirements:

$ git clone https://github.com/udacity/CarND-TensorFlow-Lab.git
$ conda env create -f CarND-TensorFlow-Lab/environment.yml
$ conda install --name CarND-TensorFlow-Lab -c conda-forge tensorflow

Run the Notebook

Run the following commands from the same directory as the commands above.

$ source activate CarND-TensorFlow-Lab
$ jupyter notebook

View The Notebook

Open a browser window and go here. This is the notebook you'll be working on. The notebook has 3 problems for you to solve:

  • Problem 1: Normalize the features
  • Problem 2: Use TensorFlow operations to create features, labels, weight, and biases tensors
  • Problem 3: Tune the learning rate, number of steps, and batch size for the best accuracy

This is a self-assessed lab. Compare your answers to the solutions here. If you have any difficulty completing the lab, Udacity provides a few services to answer any questions you might have.

Help

Remember that you can get assistance from your mentor, the Forums (click the link on the left side of the classroom), or the Slack channel. You can also review the concepts from the previous lessons.