CarRacing-v2 Trained with DAggER Imitation Learning algorithm
GitHub
·
Report Bug
This repository contains the code for an imitation learning model and the DAgger algorithm for the CarRacing-v2 Gym Environment.
This is part of the MassAI Beginner's Lecture Series. Lecture on Imitation Learning was on 11/06/2024.
This repository took inspiration from https://github.com/kvgarimella/dagger, even though this repository is deprecated and will not work for updated Gym versions.

DAgger helps the imitation learning agent learn correct actions when following sub-optimal trajectories:
Check out this paper to learn more about DAgger.
Clone this repository:
git clone https://github.com/dmtrung14/dagger.git
cd dagger
Install the requirements:
pip install -r requirements.txt
Run DAgger and train your model:
python dagger.py
