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


Release history Release notifications | RSS feed

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pogema-0.42-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pogema-0.42.tar.gz
  • Upload date:
  • Size: 12.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.42.tar.gz
Algorithm Hash digest
SHA256 57abaa0c3d8b1e90b1dfa524092fcceff49fca557382e0fda802ee0ee8e8bde9
MD5 d6e593a11d9d449bbcd084a445e5f88a
BLAKE2b-256 2d0b612277363fc58f4a15cb1057f621bf4528c1f4d40c536ec4dd5fccae603d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pogema-0.42-py3-none-any.whl
  • Upload date:
  • Size: 14.5 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.42-py3-none-any.whl
Algorithm Hash digest
SHA256 5eeffaf1f8da1f6416a76a566b204ea7c1d29303e32db93930ac754439926f3a
MD5 4dbcdef398afd6a766621b7db9a60c6d
BLAKE2b-256 53bcd1d5f6c719d237febf25488492e12ea16de506259e41f7a16c6588831d8b

See more details on using hashes here.

Supported by

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