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

Uploaded Source

Built Distribution

pogema-0.47-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pogema-0.47.tar.gz
  • Upload date:
  • Size: 13.4 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.62.2 CPython/3.9.5

File hashes

Hashes for pogema-0.47.tar.gz
Algorithm Hash digest
SHA256 78f30a754b91e1c7c74eeba41532655604ff6cf38bc967b262df9313d7313292
MD5 e767169658af31ca1f16d968187d216c
BLAKE2b-256 358d84283dcda75ad5c030a500dbd5bcfeacd34adf781becffa7651827729f77

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pogema-0.47-py3-none-any.whl
  • Upload date:
  • Size: 16.2 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.62.2 CPython/3.9.5

File hashes

Hashes for pogema-0.47-py3-none-any.whl
Algorithm Hash digest
SHA256 1775b7836014a1a1c80760f3632ca2d9d6ce5da687aa01c0592fc1831a59dc1d
MD5 64d5b5fc47598f9d613b8af140499ff2
BLAKE2b-256 b8ed63c9f263bfca176d5b0b5ede8918c0df33591a31f1546d4653f220ebd020

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