evolution-strategies-starter

Evolution Strategies的入门代码。(Starter code for Evolution Strategies)

  • Owner: openai/evolution-strategies-starter
  • Platform: Amazon Elastic Compute Cloud (EC2)
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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

Distributed evolution

This is a distributed implementation of the algorithm described in Evolution Strategies as a Scalable Alternative to Reinforcement Learning (Tim Salimans, Jonathan Ho, Xi Chen, Ilya Sutskever).

The implementation here uses a master-worker architecture: at each iteration, the master broadcasts parameters to the workers, and the workers send returns back to the master. The humanoid scaling experiment in the paper was generated with an implementation similar to this one.

The code here runs on EC2, so you need an AWS account. It's resilient to worker termination, so it's safe to run the workers on spot instances.

Instructions

Build AMI

The humanoid experiment depends on Mujoco. Provide your own Mujoco license and binary in scripts/dependency.sh.

Install Packer, and then build images by running (you can optionally configure scripts/packer.json to choose build instance or AWS regions)

cd scripts && packer build packer.json

Packer should return you a list of AMI ids, which you should place in AMI_MAP in scripts/launch.py.

Launching

Use scripts/launch.py along with an experiment JSON file. An example JSON file is provided in the configurations directory. You must fill in all command-line arguments to scripts/launch.py.

Main metrics

Overview
Name With Owneropenai/evolution-strategies-starter
Primary LanguagePython
Program languagePython (Language Count: 2)
PlatformAmazon Elastic Compute Cloud (EC2)
License:MIT License
所有者活动
Created At2017-03-24 16:14:07
Pushed At2019-10-31 09:20:13
Last Commit At2018-11-21 16:40:02
Release Count0
用户参与
Stargazers Count1.6k
Watchers Count239
Fork Count277
Commits Count4
Has Issues Enabled
Issues Count22
Issue Open Count15
Pull Requests Count1
Pull Requests Open Count1
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private