Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 622 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 622 Bytes

Reinforcement Learning for Games

This example implements three RL algorithms for the Cartpole game based on the OpenAI Gym environment:

The example is for demonstrating the Texar RL APIs (for games), and only implements the most basic versions of respective algorithms.

Usage

Run the following cmd to start training:

python pg_cartpole.py --config config 
python dqn_cartpole.py --config config 
python ac_cartpole.py --config config