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
Release history Release notifications | RSS feed
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 rlmodule-0.1.6.1.tar.gz
.
File metadata
- Download URL: rlmodule-0.1.6.1.tar.gz
- Upload date:
- Size: 34.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b337eaec01e9b41b4479b5d72fb4a7f7a8280cf005b0580dfd0284da075339e1 |
|
MD5 | 2729d8d0cc3d1a1b336a98ff06459acc |
|
BLAKE2b-256 | 424968d011f817a735d4fe9c7ebfb8ab0e0f12f8de155b07c0978a22faab342e |
File details
Details for the file rlmodule-0.1.6.1-py3-none-any.whl
.
File metadata
- Download URL: rlmodule-0.1.6.1-py3-none-any.whl
- Upload date:
- Size: 51.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55863cd4c025f27bb77a9293a90c5b0353e24f367e4d95872151d6c252e0d6fd |
|
MD5 | fc8da7c66a8005edfe4b53a654fda0f3 |
|
BLAKE2b-256 | 542194a191ad0cb81c1f7a4ba75d83abf791434f65f9b1ab3a8d05e70978683d |