https://github.com/alessiodm/drl-zh Skip to content Navigation Menu Toggle navigation Sign in * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Resources + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} alessiodm / drl-zh Public * Notifications * Fork 41 * Star 1.4k * Deep Reinforcement Learning: Zero to Hero! License MIT license 1.4k stars 41 forks Branches Tags Activity Star Notifications * Code * Issues 1 * Pull requests 1 * Actions * Projects 0 * Security * Insights Additional navigation options * Code * Issues * Pull requests * Actions * Projects * Security * Insights alessiodm/drl-zh This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main BranchesTags Go to file Code Folders and files Name Name Last commit message Last commit date Latest commit History 1 Commits .vscode .vscode assets assets solution solution util util .gitignore .gitignore 00_Intro.ipynb 00_Intro.ipynb 01_MDPs.ipynb 01_MDPs.ipynb 02_RL.ipynb 02_RL.ipynb 03_DQN.ipynb 03_DQN.ipynb 04_PG.ipynb 04_PG.ipynb 05_AC.ipynb 05_AC.ipynb 06_PPO.ipynb 06_PPO.ipynb 07_Next.ipynb 07_Next.ipynb LICENSE LICENSE README.md README.md poetry.lock poetry.lock pyproject.toml pyproject.toml View all files Repository files navigation * README * MIT license 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! [landing] 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 envinronment 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! From there, just keep moving on to the next notebooks. If you get stuck, feel free to check the /solution folder. For an expanded treatment and step-by-step coding, check out the YouTube videos! About Deep Reinforcement Learning: Zero to Hero! Topics machine-learning reinforcement-learning deep-learning deep-reinforcement-learning Resources Readme License MIT license Activity Stars 1.4k stars Watchers 11 watching Forks 41 forks Report repository Releases No releases published Packages 0 No packages published Languages * Jupyter Notebook 99.8% * Python 0.2% Footer (c) 2024 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact * Manage cookies * Do not share my personal information You can't perform that action at this time.