Skip to content

Repository files navigation

drl_practice

Practice the Deep Reinforcement Learning (DRL) with the gymnasium.

  • Easy hands-on on our laptop (like Mac/window/linux).
  • No long-time training.

How to practice

Check the Command Guide for the step-by-step commands:

  • Create the conda env with pip.
  • Exercise
    1. For a exercise, implement all NotImplementedErrors in the *_exercise.py file .
    2. then train it with the provided command.
    3. [Optional] generate the video and push the video/result to the HuggingFace.

Exercises

Don't choose too hard game and big neural network. But you can try it by yourself.

ExerciseAlgorithmVerification GameFor ChallengeStateAction
1. q_learningQ TableFrozenLakeTaxi📊📊
2. dqnDeep Q Network -> Rainbow1D LunarLander-v3img LunarLander-v3🌊📊
3. reinforceReinforce (Monte Carlo)CartPole-v1-🌊📊
4. curiosityCuriosity (Reinforce, baseline, shaping reward)-MountainCar-v0🌊📊
5. A2CA2C+GAE (or A2C+TD-n)CartPole-v1LunarLander-v3🌊📊
6. A3CA3C (using A2C+GAE)CartPole-v1LunarLander-v3🌊📊
7. PPOPPOCartPole-v1LunarLander-v3🌊📊
8. TD3Twin Delayed DDPG (TD3)Pendulum-v1Walker2d-v5🌊🌊
9. SACSAC (Soft Actor-Critic)Pendulum-v1Walker2d-v5🌊🌊
10. PPO+DDPPPO+CuriosityReacher-v5Pusher-v5🌊🌊
11. SAC+DDPSAC+PERReacher-v5Pusher-v5🌊🌊
12. MBPOModel-based Policy Optim.Reacher-v5Walker2d-v5🌊🌊

where, 🌊: Continuous, 📊: Discrete

Motivation

After studying the HuggingFace's DRL course and Pieter Abbeel's The Foundations of Deep RL in 6 Lectures, I want to have a deeper and broader understanding through the coding.

Other

  1. RL Algorithms
  2. OpenAI's Spining Up
  3. Stable Baseline3

About

Practice the Deep Reinforcement Learning (DRL) with the gym on laptop.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Contributors

Languages