Crates.io | relearn |
lib.rs | relearn |
version | 0.3.1 |
source | src |
created_at | 2021-10-07 17:15:50.590092 |
updated_at | 2022-07-30 02:40:06.412588 |
description | A Reinforcement Learning library |
homepage | |
repository | https://github.com/edlanglois/relearn |
max_upload_size | |
id | 461868 |
size | 922,771 |
A reinforcement learning library and experiment runner. Uses pytorch as the neural network backend via the tch interface to the C++ API.
At the moment this is designed for personal use. It is in-development and unstable so expect breaking changes with updates.
Read the documentation at https://docs.rs/relearn.
cargo run --release --example chain-tabular-q
This environment has infinitely long episodes.
cargo run --release --example cartpole-trpo
cargo run --release --example cartpole-trpo data/cartpole-trpo/<time>/actor.cbor
Uses a feed-forward MLP for the policy and a separate MLP for the critic
(baseline).
The displayed statistics are also saved to data/cartpole-trpo/
and can be
viewed with tensorboard --logdir data/cartpole-trpo
.