JahanAjani / SelfDrivingCar

This repository contains all the work I am doing which is needed for SDC to work. It includes basics of tensorflow, keras, image processing and machine learning techniques.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SelfDrivingCar

This repository contains all the work that I am doing for autonomous SDC to work. It includes image/video processing, machine learning techniques. The work is in progress, I am going to gradually update it.

Installation:

  1. install python 3.6.
  2. Clone this repository on local machine.
  3. open CMD from clone folder and create virtual environment python -m venv sdc
  4. Activate virual environment: sdc\Scripts\activate
  5. Run pip install -r requirement.txt to install all the dependency required for this project.

Steps to run notebooks(.ipynb):

  1. run jupyter notebook
  2. open the desired notebook from the browser.

steps to setup tensorflow:

  1. Tensorflow has two variants - cpu and gpu, I have installed tensorflow-gpu in my system(already in requiremennt.txt so you don't have to manually install it.)

  2. Tensorflow needs correct GPU drivers, cuda toolkit and cudaNN library in the system. Tensorflow 1.12.0 works only with python 3.5 or 3.6(not 3.7), cuda toolkit 9.0.176 also install it's patches, Graphics driver 388.73 and cudaNN 9.0 v.7.3.1

    Note: As my system had 6 GB GTX1060 graphics card; Graphics driver 388.73(which came pre-installed in my system worked correctly. so, please use pre-installed driver, don't upgrade it otherwise it won't work atleast in my case it didn't). you need to copy cudann library into respective cuda toolkit installed folder and restart.

  3. once it is installed run notebooks '04_basic_cnn_model_in_keras.ipynb' and '05_test_notebook_to_verify_gpu_setup.ipynb'. first notebook will train digit classifier if everything is setup correctly it will work without any error. while the second notebook will perform basic calculation on GPU explictly, so if tensflow-gpu is setup correctly then it will show you available GPU hardware list and perform calculation on them.

Jupyter tips and tricks:

This section documents all the useful tips that would be helpful for beginners like me to increase their productivity in writing jupyter notebooks, which I wish I new when I started.

  • read them from here.

Have fun! If you find any bug please feel to send me PR to merge. Thanks in advance.

About

This repository contains all the work I am doing which is needed for SDC to work. It includes basics of tensorflow, keras, image processing and machine learning techniques.

License:MIT License


Languages

Language:Jupyter Notebook 100.0%