Skip to main content

Fast reinforcement learning research

Project description

PyPI   Docs

Embodied

Fast reinforcement learning research.

Overview

The goal of Embodied is to empower researchers to quickly implement new agents at scale. Embodied achieves this by specifying an interface both for environments and agents, allowing users to mix and match agents, envs, and evaluation protocols. Embodied provides common building blocks that users are encouraged to fork when more control is needed. The only dependency is Numpy and agents can be implemented in any framework.

Packages

embodied/
  core/    # Config, logging, checkpointing, simulation, wrappers
  run/     # Evaluation protocols that combine agents and environments
  envs/    # Environment suites such as Gym, Atari, DMC, Crafter
  agents/  # Agent implementations

Agent API

class Agent:
  @configs -> dict of configs
  __init__(obs_space, act_space, step, config)
  dataset(generator) -> generator
  policy(obs, state=None, mode='train') -> act, state
  train(data, state=None) -> state, metrics
  report(data) -> metrics

Env API

class Env:
  __len__() -> int
  @obs_space -> dict of spaces
  @act_space -> dict of spaces
  step(action) -> obs dict
  render() -> array
  close()

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

embodied-0.3.0.tar.gz (54.2 kB view details)

Uploaded Source

File details

Details for the file embodied-0.3.0.tar.gz.

File metadata

  • Download URL: embodied-0.3.0.tar.gz
  • Upload date:
  • Size: 54.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.12

File hashes

Hashes for embodied-0.3.0.tar.gz
Algorithm Hash digest
SHA256 dfb228299b48ea9d0df12dac0f978f94bcd2acef382a9f1cb52f31de3782efd9
MD5 a944b71bbdeed0fbffb85b7d5e790afa
BLAKE2b-256 10c4ad84023086ed8470e9f5c391ea9b22b2760eb3374f96594eda3d3cc0a1b9

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