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.8.tar.gz
(4.5 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.8.tar.gz.
File metadata
- Download URL: minimalist_rl-0.0.8.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15287c7bfad855d0834439bf8ac4ca2ef1760d4687d0aa17d3316d602411096e
|
|
| MD5 |
d7a951dae9a30adc1f9b45e319916465
|
|
| BLAKE2b-256 |
9a165fd86a3c5a8d322636cf97dcdd9b6ad17c41a3efbe4869527352356b201b
|
File details
Details for the file minimalist_rl-0.0.8-py3-none-any.whl.
File metadata
- Download URL: minimalist_rl-0.0.8-py3-none-any.whl
- Upload date:
- Size: 4.7 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 |
f41e98a358e8c80c272b20493fb4f835e95bc36158ad2be4caf7c29c852e0cbe
|
|
| MD5 |
dbede65320b1987b925ca71b0181eff8
|
|
| BLAKE2b-256 |
d71ace15ff63e3aaf590a272249fea5e850f7e07db4768c72588a6545b6635af
|