Autonomous Driving Simulation
By Zezhou (Joe) Sun, Siqi Zhang
Introduction
Problem Definition
We want an agent that achieves the same goal but faster
System Architecture
Universe Library
Pytorch
Image Pre-processing
Grey-scale conversion
Cropping
Gaussian downsizing
Image Pre-processing
Multiple Illumination source
Random fog
Can’t use optical flow :(
Image Pre-processing
Background Noise
Image Pre-processing
Feature extraction
Adaptive threshold + morphology
Canny edge detector
Scale-invariant Feature Transform
Image Pre-processing
Segmentation Algorithm
Driving uphill
Driving downhill
Segmentation Algorithm
Image Pre-processing
Where x_0 and x_1 are points on the regression line
Linear regression on RGB value of the pixels:
A pixel is a road pixel if d is small and less than 15
| Label: Car off road | Label: Car on road |
Algorithm: Car off road | 103 | 19 |
Algorithm: Car on road | 4 | 125 |
Segmentation Algorithm
Image Pre-processing
A pixel-based road segmentation
Image Pre-processing
layer | content | |
1 | Red | From original image |
2 | Green | |
3 | Blue | |
4 | Canny(t-3) | Canny edge on 4 frames of history |
5 | Canny(t-2) | |
6 | Canny(t-1) | |
7 | Canny(t) | |
8 | Segmentation | |
Image after preprocessing: 64 x 100 x 8
Neural Network Architecture
Type | Layer shape | Class/filter size | Stride | Activation |
Conv-1 | 8*16 | 3 x 3 | 2 | ReLU |
Conv-2 | 16*32 | 4 x 4 | 2 | ReLU |
Conv-3 | 32*64 | 5 x 5 | 2 | ReLU |
FC-1 | 3200*300 | | N/A | ReLU |
FC-2 | 300*#of Actions | | N/A | Linear |
Each layer is also followed by a normalization layer.
Reinforcement Learning
ac is defined as change of score changes,
Which is acceleration
Reinforcement Learning
Result Analysis
Result Analysis
Result Analysis
Problems:
Question