A Python library for Reinforcement Learning.
Project description
Moss: A Python library for Reinforcement Learning
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 -e ".[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
Built Distribution
File details
Details for the file moss-rl-0.0.4.tar.gz
.
File metadata
- Download URL: moss-rl-0.0.4.tar.gz
- Upload date:
- Size: 36.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ce3d822c07def302ba520421e4d90bbbbcf7006f580e83672bacc03bb8bae35 |
|
MD5 | e03e1acab04344660f5db54d0eeba72a |
|
BLAKE2b-256 | 310ab87548ef4f189d2cc3d3bbe199c86f88b8097de7ca69994f274c0d19ecc1 |
Provenance
File details
Details for the file moss_rl-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: moss_rl-0.0.4-py3-none-any.whl
- Upload date:
- Size: 72.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd85c6bcd3f353eed05eeed38051998739014d04866d0b2a7ef5f223c4a1be30 |
|
MD5 | 6d125059b9e9449c29e152e549ebf743 |
|
BLAKE2b-256 | 102905c8c82182488f155edad203f2260419e20d925820fdbf30d2497062f5b2 |