Skip to main content

Flexible reinforcement learning models instantiators library

Project description

rlmodule

Flexible reinforcement learning models instantiators library

Function approximators simple, but still strong. RNN - GRU - LSTM / SAC

Now it only supports skrl, but is intended to be library agnostic - in later expansion

try other algos shared separate model

How to run

Install rlmodule from local code

  • Make sure you are in base rlmodule dict.

  • Start virtual env.

python3 -m venv venv
source venv/bin/activate
  • Install library from local code
pip install -e .

Note: sometimes installation may fail, if there is a run/ dir present, you may need to remove it (TODO: fix)

rm -rf runs

Run chosen example

python3 rlmodule/skrl/torch/examples/gymnasium/pendulum_ppo_mlp_separate_model.py

Optional: observe run results in Tensorboard

tensorboard --logdir=runs/

Update new version to PIP

Change version name in pyproject.toml

pip install build twine
rm -rf runs
python -m build
twine upload dist/*

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

rlmodule-0.1.6.3.tar.gz (36.7 kB view details)

Uploaded Source

Built Distribution

rlmodule-0.1.6.3-py3-none-any.whl (56.1 kB view details)

Uploaded Python 3

File details

Details for the file rlmodule-0.1.6.3.tar.gz.

File metadata

  • Download URL: rlmodule-0.1.6.3.tar.gz
  • Upload date:
  • Size: 36.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for rlmodule-0.1.6.3.tar.gz
Algorithm Hash digest
SHA256 3a21bec1e4f9b02c324e7b2885fd959441d9cb02b16296e42b7e5797487d53ce
MD5 ad1c2aac25c7c99b243a42ba871d8b81
BLAKE2b-256 7585be5d7aee8da9235bf7d589497e015c6d3758c879b298d2c375672a44dc68

See more details on using hashes here.

File details

Details for the file rlmodule-0.1.6.3-py3-none-any.whl.

File metadata

  • Download URL: rlmodule-0.1.6.3-py3-none-any.whl
  • Upload date:
  • Size: 56.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for rlmodule-0.1.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ddc3428b1c8dda6b04fe7a65da65e181b792d2b2d3a15bb83736351373efd868
MD5 6761b8dd36f1d63e1dc062c048671f27
BLAKE2b-256 7acc6e90ef720bdd0f9ad3897b2332e135998c69ae2891aba4ba1406a6ee86be

See more details on using hashes here.

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