This is the code for thistutorial by Siraj Raval. You can find the simulator here.
Overview
The objective of this project is to clone human driving behavior using a Deep Neural Network. In order to achieve this, we are going to use a simple Car Simulator. During the training phase, we navigate our car inside the simulator using the keyboard. While we navigating the car the simulator records training images and respective steering angles. Then we use those recorded data to train our neural network. Trained model was tested on two tracks, namely training track and validation track. Following two animations show the performance of our final model in both training and validation tracks.
Github Repository:
What Will I Learn?
- You learn how the entire self driving car pipeline works
- You Learn computer visioin, path planning
- You Learn control, sensor fusion and localization.
Difficulty
- Basic
Requirements
This project requires Python 3.5 and the following Python libraries installed:
- Keras
- NumPy
- SciPy
- TensorFlow
- Pandas
- OpenCV
- Matplotlib (Optional)
- Jupyter (Optional)
All Code : https://github.com/llSourcell/self_driving_cars_explained?files=1
Run this command at the terminal prompt to install OpenCV. Useful for image processing:
conda install -c
https://conda.anaconda.org/menpo
opencv3
How to Run the Model
This repository comes with trained model which you can directly test using the following command.
python drive.py model.json
Implementation
If you prefer watching a video..
Video
Results
In the initial stage of the project, I used a dataset generated by myself. That dataset was small and recorded while navigating the car using the laptop keyboard. However, the model built using that dataset was not good enough to autonomously navigate the car in the simulator. However, later I used the dataset published by the Udacity. The model developed using that dataset (with the help of augmented data) works well on both tracks as shown in following videos.
More learning Lesson
- https://www.ucsusa.org/clean-vehicles/how-self-driving-cars-work#.WwGlx9MvwmI
- https://medium.com/swlh/everything-about-self-driving-cars-explained-for-non-engineers-f73997dcb60c
- https://hackernoon.com/self-driving-cars-explained-db9fc8ced7e8
- https://searchenterpriseai.techtarget.com/definition/driverless-car
Summary
In this tutorial, I explain how the entire self driving car pipeline works, including computer vision, path planning, control, sensor fusion, and localization.
Hi! I am a robot. I just upvoted you! I found similar content that readers might be interested in:
https://github.com/upul/Behavioral-Cloning
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
@siraj i think that you are a new at steemit and don't know the utopian rules. Utopian doesn't allow any person to copy any other person material and then paste in your post, and in utopian this is known as plagiarism. And due to this reason you would be ban at utopian.And would be not able to write more post at utopian.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmNmQRxBPv9byUhvVvoPVqVEtxeVWooxEPDoPYrq2N6hBT/image.png)
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmYKpj7mdu712GfyuXeWyfMm6tPMDaAsgZKU64MZSsdWaW/image.png)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thank you @funb.
I have written some post on medium.com. Can I repost here which I have written?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
nope @siraj it will also considered as plagiarism
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Plagiarizing content is a serious offense. Your content is available online on this link https://github.com/upul/Behavioral-Cloning
You have been banned from receiving Utopian reviews for 60 days.
Similar contributions in the future would lead to permanent ban.
Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
siraj bhaya, im big fan of yours. you always create a very impressive youtube videos, yaar yahan steem pay just typing blog of your level, you will get nothing as it worth, because yahan bhot say fazool stressfull bots chulay howay hain. agr aap simply apnay youtube kay video d.tube pay upload kur dain, jo kay steem say link hai, then you will get good rewards without doing anything extra here. its good to see you here, but whatever you are doing, is really great, so this is just a suggestion to keep on doing that and u will get more reward ultimatelly. just google d.tube plz
thanks
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit