Skip to main content

Partially Observable Grid Environment for Multi-Agent RL

Project description

Pogema environment

Installation

Just install from PyPI:

pip install pogema

Using Example

import gym
from pogema.grid_config import GridConfig

env = gym.make('Pogema-v0', config=GridConfig(num_agents=2, size=8))
obs = env.reset()

done = [False, ...]
while not all(done):
    obs, reward, done, info = env.step([env.action_space.sample() for _ in range(env.config.num_agents)])
    env.render()
env.reset()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pogema-0.543.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

pogema-0.543-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file pogema-0.543.tar.gz.

File metadata

  • Download URL: pogema-0.543.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.9

File hashes

Hashes for pogema-0.543.tar.gz
Algorithm Hash digest
SHA256 605d96fe05937221d6499f0de3a6e527688f165634dd0ec4f55d62e339214979
MD5 29ec643941b888e7fdf65cfecbc124d8
BLAKE2b-256 d8373aaca1938d6151ecd7833243ed60e97b44e12c2b78824b48212a702d044f

See more details on using hashes here.

Provenance

File details

Details for the file pogema-0.543-py3-none-any.whl.

File metadata

  • Download URL: pogema-0.543-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.9

File hashes

Hashes for pogema-0.543-py3-none-any.whl
Algorithm Hash digest
SHA256 83c0f481d4911e2258839f1f71b20a9fe7b18ec5acb29ba04fff7b7108b2212f
MD5 fce8f9ef2cb4596608cd5458854c023a
BLAKE2b-256 62cc6008bcb00d23a5dac16e722d9c3921848fc2ab5df22a2e251ae602875d6d

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page