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.6.tar.gz
(4.4 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.6.tar.gz.
File metadata
- Download URL: minimalist_rl-0.0.6.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9beba131e4bdec9334cbccf1fabe3fec3efc36332a11dc1eee6adbe8a1390759
|
|
| MD5 |
333bb3a91e4223125d76f9052ec944a1
|
|
| BLAKE2b-256 |
dc18153a60cc56eca088bc5b41c0baad463717ca5c33807985e37566896c89f8
|
File details
Details for the file minimalist_rl-0.0.6-py3-none-any.whl.
File metadata
- Download URL: minimalist_rl-0.0.6-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1eee506468f001f5c7e48020be821ed415309942a2bb6c4da0cf48f78519f988
|
|
| MD5 |
9b058ea906b290fce3abe4a59b78fc21
|
|
| BLAKE2b-256 |
e6303d0eae91b5d1f47a45f4ac1986d7294a090faf3009b8186d61c3a8a9dfcb
|