Change default batch size for SAC

This commit is contained in:
Antonin Raffin 2019-11-14 14:35:47 +01:00
parent 5278a6f3f8
commit f719544386

View file

@ -54,7 +54,7 @@ class SAC(BaseRLModel):
:param _init_setup_model: (bool) Whether or not to build the network at the creation of the instance
"""
def __init__(self, policy, env, learning_rate=3e-4, buffer_size=int(1e6),
learning_starts=100, batch_size=64,
learning_starts=100, batch_size=256,
tau=0.005, ent_coef='auto', target_update_interval=1,
train_freq=1, gradient_steps=1, n_episodes_rollout=-1,
target_entropy='auto', action_noise=None,