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.45.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

pogema-0.45-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pogema-0.45.tar.gz
  • Upload date:
  • Size: 12.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.45.tar.gz
Algorithm Hash digest
SHA256 db7491a44579411de5e076098ba0cb9c10d050fdddf5b5402bca8646562671b4
MD5 5d9bc6a6ffa212e9af3a916560679631
BLAKE2b-256 87cd735c6245ab91514b9eb1d74b7d4a1becd0ec82f63f9cae921525a7abd906

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pogema-0.45-py3-none-any.whl
  • Upload date:
  • Size: 16.0 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.45-py3-none-any.whl
Algorithm Hash digest
SHA256 c9ac3800014ba38e1305d04a9736d97b5272c47cdcf0785b55ac95d28cd163f1
MD5 fbedef21555d0f5599f983509d62860f
BLAKE2b-256 8fa4461911b87988cf9120e0eba2b64bf740f3708a440b1723f5e3b147d42d97

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