Skip to main content

Minimalist & Decoupled Reinforcement Learning.

Project description

Intro

  • Minimalist & Decoupled Reinforcement 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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

minimalist_rl-0.0.9-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

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

Hashes for minimalist_rl-0.0.9.tar.gz
Algorithm Hash digest
SHA256 dd2e57c5e5500cef877d07e4cd34aaa410d7270cb4fbd476bc4e00fe4cee6efa
MD5 4153067e2b6cbf0a55c570e312c8220c
BLAKE2b-256 b0744162acbdf8b58cefda47ef879da23f18acb2dbacd2db1de43489fe524a39

See more details on using hashes here.

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

Hashes for minimalist_rl-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 f32fe7874dd803a05347b81423680505955807e2387c7392e19fa3781199680b
MD5 2e9efa4958a68e71574560a59eb69f03
BLAKE2b-256 ce1ff70411dec3d2173d77ef30ac5b3dd7f4bfc5047af39322c5dabeb469766f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page