ToruOwO / multiagent-competition-envs

This repository contains the cleaned and updated environments from the paper "Emergent Complexity via Multi-agent Competition".

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Competitive Multi-Agent Environments

This repository contains the cleaned and updated environments from the paper Emergent Complexity via Multi-agent Competition.

(Original code by OpenAI here)

Dependencies

Use pip install -r requirements.txt to install dependencies. If you haven't used MuJoCo before, please refer to the installation guide. The code has been tested with the following dependencies:

Installing Package

After installing all dependencies, make sure gym works with support for MuJoCo environments. Next install gym-compete package as:

cd gym-compete
pip install -e .

Check install is successful by coming out of the directory and trying import gym_compete in python console. Some users might require a sudo pip install.

Trying the environments

To see a demo of all environments (with untrained agents) do:

bash demo_tasks.sh all

To instead try a single environment use:

bash demo_tasks.sh <task>

where <task> is one of: run-to-goal-humans, run-to-goal-ants, you-shall-not-pass, sumo-ants, sumo-humans and kick-and-defend

Demos

A full list of videos can be found under /demos

run-to-goal-humans

run-to-goal-humans

run-to-goal-ants

run-to-goal-ants

you-shall-not-pass

you-shall-not-pass

sumo-ants

sumo-ants

sumo-humans

sumo-humans

kick-and-defend

kick-and-defend

About

This repository contains the cleaned and updated environments from the paper "Emergent Complexity via Multi-agent Competition".


Languages

Language:Python 98.2%Language:Shell 1.8%