Skip to content

Latest commit

 

History

History
 
 

QuickStart

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Quick Start

Train an agent with PARL to solve the CartPole problem, a classical benchmark in RL.

How to use

Dependencies:

Start Training:

# Install dependencies
pip install paddlepaddle  
# Or use Cuda: pip install paddlepaddle-gpu

pip install gym
git clone https://github.com/PaddlePaddle/PARL.git
cd PARL
pip install .

# Train model
cd examples/QuickStart/
python train.py  

Expected Result

result

The agent can get around 200 points in a few minutes.