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

Uploaded Python 3

File details

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

File metadata

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

Hashes for minimalist_rl-0.0.7.tar.gz
Algorithm Hash digest
SHA256 7037a12bbfa70ee35339d569987a2ed42c62805fdbb3e2d4027837279e2cafe8
MD5 7600dd7eb99b310839aa3e60727c4764
BLAKE2b-256 3ec7794bf7443c58d8e701c41e654a1ca60c763a9ad4f6a6f3df1b040706c731

See more details on using hashes here.

File details

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

File metadata

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

Hashes for minimalist_rl-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 25ae72d76304ff87af8b93cdf073eb622149355ca6c5578561d4c5f587533c2b
MD5 972ed5d87f93ba5e3cee8f67cc3fef1f
BLAKE2b-256 e9243589d232ea708598822c256853dcf5cf6ddec8f102b1931b9228e0b7d3f5

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