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/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.2.tar.gz (36.1 kB view details)

Uploaded Source

Built Distribution

rlmodule-0.1.6.2-py3-none-any.whl (53.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rlmodule-0.1.6.2.tar.gz
  • Upload date:
  • Size: 36.1 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.2.tar.gz
Algorithm Hash digest
SHA256 25665b238c5afbe6e69df0e58fa45326f9cd3c1940e3321fa621f32ec6e2b222
MD5 e42be1eadf5bae5cb1c5e525fdd18ffa
BLAKE2b-256 83d67a69f46bf2f77bb514d89077dd73d3072dbc1715d8b9f2960f50f368db74

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rlmodule-0.1.6.2-py3-none-any.whl
  • Upload date:
  • Size: 53.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 650c5c40fd0edf7819aece9bbde61b0f8ea12161d505097a98acbe174587c9f2
MD5 9974fb5b9af32d5984ac58f31eb2082a
BLAKE2b-256 3b413dd568d7f3ddb3f6039709e66fd91c10e66a374d5786d9bc07e435cdb7aa

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