This project is related to building an agent to drive a car. The agent learns to drive the car by getting the rewards after geeting in various states in the enviornment. Basicially this this reinforcement or q-learning. I basically have created a artififcal neural network in which we have on input state then a hidden layer in which rectifier function is used for activation of the neuron. Then the output of the hidden layer are fed to softmax function to take the right action.
Use the following code to clone the repository git
clone https://github.com/kumaranshu72/self-driving-car.git
self_driving_car
Install the Anaconda Distribution of
Python from here
Install The following python libraries
pyTourch : conda
install pytorch torchvision -c pytorch
kivy :
https://kivy.org
-
Open Terminal
-
Type
anaconda-navigator
and run spider. -
Using file explorer in spider go to the project directory and restart the kernal.
-
open map.py
-
Execute map.py.