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.5.tar.gz (4.4 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.5-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file minimalist_rl-0.0.5.tar.gz.

File metadata

  • Download URL: minimalist_rl-0.0.5.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

Hashes for minimalist_rl-0.0.5.tar.gz
Algorithm Hash digest
SHA256 d5d9607a72d21351e41b1dfa032135fdc703ba2ffc90258c43f7338aaa8eac8b
MD5 cdb16bd0d8b73afcde66fb4b17b5c286
BLAKE2b-256 fd29492f1ed000d99dbd9d42dc193567a13113857e209fed36d525cabf39701e

See more details on using hashes here.

File details

Details for the file minimalist_rl-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: minimalist_rl-0.0.5-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

Hashes for minimalist_rl-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6dc9790517db208ca8aaf9b95ba68cdd8448302f5429d5c322f4b91477ee79c9
MD5 5002cfc735b40ae43ea073855759766e
BLAKE2b-256 272ff99669e24c7f02fddcaa68cdddeb32352d313e91be48458773e88adcf12f

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