Giter Site home page Giter Site logo

gdangelo / carnd-traffic-sign-classifier-project Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 8.52 MB

Traffic Sign Classification Project for Self-Driving Car ND

Jupyter Notebook 100.00%
machine-learning self-driving-car deep-learning convolutional-neural-networks neural-network lenet-architecture python jupyter-notebook traffic-sign-classification tensorflow

carnd-traffic-sign-classifier-project's Introduction

CarND-Traffic-Sign-Classifier-Project

Traffic Sign Classification Project for Self-Driving Car Nanodegree.

Udacity - Self-Driving Car NanoDegree

The purpose of this project is to use deep neural networks and convolutional neural networks to classify traffic signs. I built, trained and validated a model so it can classify traffic sign images using the German Traffic Sign Dataset. After the model was trained, I then tried out my model on images of German traffic signs found on the web. More info in the writeup.

Overview

Starting to work on this project consists of the following steps:

  1. Install miniconda on your computer
  2. Create a new conda environment using this project
  3. Each time you wish to work, activate your conda environment
  4. Run the Jupyter notebook and visit http://localhost:8000

Installation

Download the latest version of miniconda that matches your system.

NOTE: There have been reports of issues creating an environment using miniconda v4.3.13. If it gives you issues try versions 4.3.11 or 4.2.12 from here.

Linux Mac Windows
64-bit 64-bit (bash installer) 64-bit (bash installer) 64-bit (exe installer)
32-bit 32-bit (bash installer) 32-bit (exe installer)

Install miniconda on your machine. Detailed instructions:

Clone the project and download the dataset

git clone https://github.com/gdangelo/CarND-Traffic-Sign-Classifier-Project.git
cd CarND-Traffic-Sign-Classifier-Project

Then download the dataset by following this link. This is a pickled dataset in which the images are already resized to 32x32.

Create a data/ folder at the root of the project and unzip the dataset files inside. You should now have 3 pickle files:

CarND-Traffic-Sign-Classifier-Project/
 └── data/ 
      ├── test.p
      ├── train.p
      └── valid.p

Setup your carnd environment.

If you are on Windows, rename
meta_windows_patch.yml to
meta.yml

Create carnd. Running this command will create a new conda environment that is provisioned with all libraries you need to be successful in this program.

conda env create -f environment.yml

Note: Some Mac users have reported issues installing TensorFlow using this method. The cause is unknown but seems to be related to pip. For the time being, we recommend opening environment.yml in a text editor and swapping

    - tensorflow==0.12.1

with

    - https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-0.12.1-py3-none-any.whl

Verify that the carnd environment was created in your environments:

conda info --envs

Cleanup downloaded libraries (remove tarballs, zip files, etc):

conda clean -tp

Uninstalling

To uninstall the environment:

conda env remove -n carnd

Usage

Now that you have created an environment, in order to use it, you will need to activate the environment. This must be done each time you begin a new working session i.e. open a new terminal window.

Activate the carnd environment:

OS X and Linux

$ source activate carnd

Windows

Depending on shell either:

$ source activate carnd

or

$ activate carnd

Now all of the carnd libraries are available to you.

Open the code in a Jupyter Notebook:

$ jupyter notebook Traffic_Sign_Classifier.ipynb

That's it. To exit the environment when you have completed your work session, simply close the terminal window.


Questions or Feedback

Contact me anytime for anything about my projects or machine learning in general. I'd be happy to help you 😉

carnd-traffic-sign-classifier-project's People

Contributors

gdangelo avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.