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/rlmodule/skrl/torch/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.1.1.tar.gz (35.7 kB view details)

Uploaded Source

Built Distribution

rlmodule-0.1.6.1.1-py3-none-any.whl (53.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rlmodule-0.1.6.1.1.tar.gz
  • Upload date:
  • Size: 35.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.1.1.tar.gz
Algorithm Hash digest
SHA256 e19fdcf0039c9296f31c02a54e565afdc5dfe01392feb3d0d67eeb59f7a60cfb
MD5 36cc9d6d38cf153d68a43cdd91aed0cc
BLAKE2b-256 8f61cf1d69658f79185fd78cefc44159ec80324f775760be7abdbb843587fe9a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rlmodule-0.1.6.1.1-py3-none-any.whl
  • Upload date:
  • Size: 53.6 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 afbb5f463a798e938889d35bea034492788a35dcbe90f35e0e3538d2b75d5c59
MD5 f7984a519f142a4722671d2b1f2ab583
BLAKE2b-256 52ba91713cc3af8c21de7638d175926847b2aeba39f94d9e8571c6d05339a8b9

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