This repository implements a simple algorithm for imitation learning: DAGGER
The implementation is tested on the problem of controlling the steering wheel of a vehicle (in simulation) from pixels alone. TORCS is used as the driving simulator, and Keras is used for training a Convolutional Neural Network on the steering angle prediction task.
python dagger.py
After Iteration 1, crashes after 78 steps
After Iteration 2, crashes after 151 steps
After Iteration 3, crashes after 395 steps
After Iteration 4, the car does not crash anymore: gif. Image cannot be displayed on the README since it exceeds the content length allowed by Github.
Note: The images fed to the ConvNet are 64x64, the images shown above have been resized to 256x256 for viewing purposes.