Skip to main content

OpenAI Gym-compatible implementation of a simple memory-testing environment.

Project description

SimpleMemoryTestingEnv

This is a simple OpenAI Gym-compatible environment to test RL agent's memory.

Usage

gym must be installed. Environments can be created as follows:

>>> import gym
>>> import simple_memory_testing_env
>>> env = gym.make("SimpleMemoryTestingEnv-v0")
  • default environment (partial observability + memory-requiring T-maze with 4 different colors) : "SimpleMemoryTestingEnv-v0" (with only 2 colors: "SimpleMemoryTestingEnv-2Colors-v0")

default_env

  • easy environment (partial observability maze with 4 different colors) : "SimpleMemoryTestingEnv-Easy-v0" (with only 2 colors: "SimpleMemoryTestingEnv-Easy-2Colors-v0")

easy_env

Installation

Installing via pip

This package is available in PyPi as simple_memory_testing_env

pip install simple_memory_testing_env

Installing via cloning this repository

git clone https://www.github.com/Near32/SimpleMemoryTestingEnv
cd SimpleMemoryTestingEnv
pip install -e .

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

simple_memory_testing_env-0.0.1.tar.gz (5.3 kB view details)

Uploaded Source

File details

Details for the file simple_memory_testing_env-0.0.1.tar.gz.

File metadata

  • Download URL: simple_memory_testing_env-0.0.1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9

File hashes

Hashes for simple_memory_testing_env-0.0.1.tar.gz
Algorithm Hash digest
SHA256 1282ab830d37b275516410651cf81312af7efb24229e42c03bc291c5cd9c0eb8
MD5 a7d6e47ad9f2163c397be273a39776e0
BLAKE2b-256 ccf96f475301de5ce9cfdbdca76fc636d43b08b9b89b186af112ca6161a6760e

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