Skip to main content

A Python library for Reinforcement Learning.

Project description

Moss: A Python library for Reinforcement Learning

PyPI GitHub license

Moss is a Python library for Reinforcement Learning based on jax.

Installation

To get up and running quickly just follow the steps below:

Installing from PyPI: Moss is currently hosted on PyPI, you can simply install Moss from PyPI with the following command:

pip install moss-rl

Installing from github: If you are interested in running Moss as a developer, you can do so by cloning the Moss GitHub repository and then executing following command from the main directory (where setup.py is located):

pip install .["dev"]

After installation, open your python console and type

import moss
print(moss.__version__)

If no error occurs, you have successfully installed Moss.

Quick Start

This is an example of Impala to train Atari game(use envpool).

python examples/atari/impala.py --task_id Pong-v5 --learning_rate 1e-3

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

moss-rl-0.0.3.tar.gz (34.1 kB view details)

Uploaded Source

Built Distribution

moss_rl-0.0.3-py3-none-any.whl (62.6 kB view details)

Uploaded Python 3

File details

Details for the file moss-rl-0.0.3.tar.gz.

File metadata

  • Download URL: moss-rl-0.0.3.tar.gz
  • Upload date:
  • Size: 34.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for moss-rl-0.0.3.tar.gz
Algorithm Hash digest
SHA256 c8f5272b0ff3ea888954cde1ad2727f2fb9ea07a940a1db44f3d3ead3cf39d3f
MD5 572e6bf9fd3efcc05f7aea380d2ef8f9
BLAKE2b-256 a80700f650999d231a841804ac5806ccc1184639074a2f96d91ac1fa2e425882

See more details on using hashes here.

Provenance

File details

Details for the file moss_rl-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: moss_rl-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 62.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for moss_rl-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a03bcf18a5ff84c5d529b61ac8db4e68abfcb4e64ab34911c7cea8615434580c
MD5 b9f25cf5b2cb87e6b8eb0923092285c7
BLAKE2b-256 76a5bc3eae311ef12445be26229eb7899a1110b09ddb47a38b76f8d7f74e023c

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