Minimalist & Decoupled Reinforcement Learning.
Project description
Intro
Minimalist&DecoupledReinforcement Learning
Usage
pip install minimalist-RL
import gymnasium as gym
import torch.nn as nn
from minimalist_RL.SAC import SAC, ActorCritic
from minimalist_RL.utils import train_RL
env = gym.make("HalfCheetah-v5")
ac_net = ActorCritic(env, sizes=[256, 256], Act=nn.ReLU)
sac = SAC(ac_net)
train_RL(env, ac_net.pi.tanh_act, sac.update)
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
minimalist_rl-0.0.9.tar.gz
(5.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file minimalist_rl-0.0.9.tar.gz.
File metadata
- Download URL: minimalist_rl-0.0.9.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd2e57c5e5500cef877d07e4cd34aaa410d7270cb4fbd476bc4e00fe4cee6efa
|
|
| MD5 |
4153067e2b6cbf0a55c570e312c8220c
|
|
| BLAKE2b-256 |
b0744162acbdf8b58cefda47ef879da23f18acb2dbacd2db1de43489fe524a39
|
File details
Details for the file minimalist_rl-0.0.9-py3-none-any.whl.
File metadata
- Download URL: minimalist_rl-0.0.9-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f32fe7874dd803a05347b81423680505955807e2387c7392e19fa3781199680b
|
|
| MD5 |
2e9efa4958a68e71574560a59eb69f03
|
|
| BLAKE2b-256 |
ce1ff70411dec3d2173d77ef30ac5b3dd7f4bfc5047af39322c5dabeb469766f
|