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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pogema-0.41.tar.gz
  • Upload date:
  • Size: 12.3 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.41.tar.gz
Algorithm Hash digest
SHA256 ca8bb57590504ca56c2fd75035d9feced44c76b8d74ae72f3cf6b5bd2b044157
MD5 9bf5bbcbc3bfb76d9610d1e16460ba93
BLAKE2b-256 3efe8a1bd9dcdd3cfa2eca4d0e88f1617cc4405a8efe2e81ba5eee3392821198

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pogema-0.41-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.41-py3-none-any.whl
Algorithm Hash digest
SHA256 d6b67f5b37f90acb09864262b305706efee437154a44d352c8a65f498608d859
MD5 0a886545e17a3b1cffb73bc05cc63194
BLAKE2b-256 2093dbd56c181fae02096e2183fc935460b8449d6c795a418b9de38324f965d3

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