Skip to content

Latest commit

 

History

History
17 lines (16 loc) · 1.26 KB

README.md

File metadata and controls

17 lines (16 loc) · 1.26 KB

Reinforcement-Learning-With-Gym

license

Simple PyTorch deep reinforcement algorithm implementation tested by OpenAI Gym. Easy for beginner 🥳.

Step 1 : Setup up environment

To install Gym, you can follow this instruction.
Since some environments like LunarLanderContinuous-V2 need fully installation,you may need to additionally do this:

pip install 'gym[box2d]'

Step 2 : Train your agent or test trained agent 🤖

  1. By run LunarLanderContinuous-V2_train.py you can train a lunar landing robot by using SAC algorithm.
  2. By run LunarLanderContinuous-V2_test.py you can see the performance of my trained robot after about 180 episodes. lunar

Step 3 : Explore the detail of the algorithm and do your own job👏

This implementation is well arranged and easy to understand. Enjoy your learning of Deep Reinforcement Algorithm. For more implementations you can see spinning up which I followed.