IanWangg / MetaDrive-Tutorials

Reinforcement Learning tutorials with Metadrive: A collection of hands-on notebooks and resources to get started with reinforcement learning using the powerful MetaDrive simulation environment.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MetaDrive Tutorials

Are you interested in self-driving cars? Do you want to learn RL? If so, look no further! In this series of tutorials, we'll teach you how to train an RL model to drive a simulated car in Metadrive, an environment for testing self-driving cars. We assume only knowledge of basic ML, and will teach you any RL concepts. To ensure your understanding, we provide coding exercises for you to fill out, as well as solutions to check your work against.

Screenshots

Car Driving

Prerequisite Knowledge

Here's a list of the topics you should be familiar with, alongside some sources that you can review them with:

Installing Metadrive

Note: Metadrive only officially supports Windows and Linux systems

The most up-to-date instructions for installing Metadrive can be found on the Metadrive repository

We reccomend directly git cloning the latest version of the repository, as it contains recent updates that allow you to use it with newer libraries:

git clone https://github.com/metadriverse/metadrive.git
cd metadrive
pip install -e .

Table of Contents

The tutorials build off of each other, so we reccomend reading them in the order listed:

  1. Policy Gradients Explanation
  2. Deep Q Network Explanation
  3. Double and Dueling DQN Explanation
  4. PPO Explanation
  5. Behavior Cloning Explanation

About

Reinforcement Learning tutorials with Metadrive: A collection of hands-on notebooks and resources to get started with reinforcement learning using the powerful MetaDrive simulation environment.

License:MIT License


Languages

Language:Jupyter Notebook 100.0%Language:Python 0.0%