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.3.tar.gz (4.3 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.3-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: minimalist_rl-0.0.3.tar.gz
  • Upload date:
  • Size: 4.3 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.3.tar.gz
Algorithm Hash digest
SHA256 c5681d597f07989ffd3c17ac0acbf7253bb3d32dcbd060940c8e2e06e42419f7
MD5 388f43af7dd0135e409705b13c572a49
BLAKE2b-256 dddd3e428d0c51b00d245d5be37c9a70fe148d95b70c69b8c4cb38aaf7fed33b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: minimalist_rl-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.5 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 757b8ba8e1e31ef4ee1d5e4db6003e761d90f5cea434b7e293af0732b00fa510
MD5 785346fccd40bd4243dde0ce190c3c3b
BLAKE2b-256 1997827c3c3351995129b28a3aa7fa469dcd780b21e06234e41adcbc35524595

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