Need help with EPG?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

211 Stars 43 Forks MIT License 3 Commits 7 Opened issues


Code for the paper "Evolved Policy Gradients"

Services available


Need anything else?

Contributors list

Status: Archive (code is provided as-is, no updates expected)

Evolved Policy Gradients (EPG)

The paper is located at A demonstration video can be found at

Houthooft, R., Chen, R. Y., Isola, P., Stadie, B. C., Wolski, F., Ho, J., Abbeel, P. (2018). Evolved Policy Gradients. arXiv preprint arXiv:1802.04821.


Install Anaconda:

curl -o /tmp/
bash /tmp/
conda create -n epg python=3.6.1
source activate epg

Install necessary OSX packages for MPI:

brew install open-mpi

Install necessary Python packages:

pip install mpi4py==3.0.0 scipy \
pandas tqdm joblib cloudpickle == 0.5.2 \
progressbar2 opencv-python flask >= 0.11.1 matplotlib pytest cython \
chainer pathos mujoco_py 'gym[all]'


First go to the EPG code folder:

Then launch the entry script:
PYTHONPATH=. python epg/
Experiment data is saved in


First, set

theta_load_path = '/theta.npy'
according to the
obtained after running the
script. This file should be located in

Then run:

PYTHONPATH=. python epg/ --test true

Visualizing experiment data

Assuming the experiment data is saved in

, run:
PYTHONPATH=. python epg/viskit/ /EPG_experiments/-/
Then go to
in your browser.

Viskit sourced from

Duan, Y., Chen, X., Houthooft, R., Schulman, J., Abbeel, P. "Benchmarking Deep Reinforcement Learning for Continuous Control". Proceedings of the 33rd International Conference on Machine Learning (ICML), 2016.

BibTeX entry

author = {Houthooft, Rein and Chen, Richard Y. and Isola, Phillip and Stadie, Bradly C. and Wolski, Filip and Ho, Jonathan and Abbeel, Pieter},
title = {Evolved Policy Gradients},
journal={arXiv preprint arXiv:1802.04821},
year = {2018}}

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.