2020-07-11 14:18:02 +05:30
2018-08-31 17:23:01 +05:30
2019-04-06 21:51:07 +05:30
2019-07-09 13:06:51 +05:30
2020-06-06 09:32:55 +05:30
2018-08-31 17:25:08 +05:30

Description


Reimplementation of Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actor.

Requirements


Run


For SAC :

python main.py --env-name Humanoid-v2 --aplha 0.05

For SAC (Hard Update):

python main.py --env-name Humanoid-v2 --alpha 0.05 --tau 1 --target_update_interval 1000

Default Parameters


Parameters Value
Shared -
optimizer Adam
learning rate(--lr) 3x104
discount(--gamma) (γ) 0.99
replay buffer size(--replay_size) 1x106
number of hidden layers (all networks) 2
number of hidden units per layer(--hidden_size) 256
number of samples per minibatch(--batch_size) 256
nonlinearity ReLU
SAC -
target smoothing coefficient(--tau) (τ) 0.005
target update interval(--target_update_interval) 1
gradient steps(--updates_per_step) 1
SAC (Hard Update) -
target smoothing coefficient(--tau) (τ) 1
target update interval(--target_update_interval) 1000
gradient steps (except humanoids)(--updates_per_step) 4
gradient steps (humanoids)(--updates_per_step) 1

Environment (--env-name) Temperature (--alpha)
HalfCheetah-v2 0.2
Hopper-v2 0.2
Walker2d-v2 0.2
Ant-v2 0.2
Humanoid-v2 0.05
S
Description
PyTorch implementation of soft actor critic
Readme MIT 1.2 MiB
Languages
Python 96%
Makefile 4%