Skip to content

Latest commit

 

History

History
 
 

rl_gym

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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