Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 757 Bytes

File metadata and controls

19 lines (14 loc) · 757 Bytes

Reinforcement Learning Examples

For the Python scripts, prepare your environment:

pip install gym
pip install "gymnasium[atari, accept-rom-license]"

These examples illustrate how to implement a couple reinforcement learning algorithms to play Atari games. More details on the DQN examples can be found on this blog post

A2C Agent Playing Breakout

Breakout

A2C Agent Playing SpaceInvaders

Space Invaders