Giter Club home page Giter Club logo

drl-zh's Introduction

Deep Reinforcement Learning: Zero to Hero!

Welcome to the most hands-on reinforcement learning experience!

This is a short and practical introductory course on foundational and classic deep reinforcement learning algorithms. By the end of the course, you will have written from scratch algorithms like DQN, SAC, PPO, as well as understood at a high-level the theory behind them.

We will be able to train an AI to play Atari games and land on the Moon!

Environment Setup

To make sure we can focus on learning, the environment setup is opinionated ๐Ÿ˜Š Here it is:

  • Install Miniconda
    Why conda? Because it's a full environment manager, and we can choose the Python version too.

  • Checkout this Git repository, and cd into its folder.

  • Create and activate the drlzh virtual environment:

    conda create --name drlzh python=3.11
    conda activate drlzh
  • Install Poetry and install dependencies:
    Dependencies include gymnasium[accept-rom-license] for Atari. Make sure to accept the license agreement when installing the dependencies of the project via Poetry.

    pip install poetry
    poetry install
    
  • Install Visual Studio Code

How Do I Start?

Open this repository folder in Visual Studio Code (make sure to keep the .vscode folder for settings consistency, running on Jupyter might require some tweaks to code and imports).

Open the first 00_Intro.ipynb notebook in Visual Studio Code, and follow along! Your objective is to write code in the TODO sections and try out the algorithms! You might even encounter some unit tests to verify your implementation along the way! Keep moving from one notebook to the next, and if you get stuck feel free to check the /solution folder where the full code is available.

For an expanded treatment and step-by-step coding, stay tuned for the upcoming YouTube videos!

drl-zh's People

Contributors

alessiodm avatar landonwilkins avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.