Add comment about warmup phase

This commit is contained in:
Antonin Raffin 2020-01-07 17:36:26 +01:00
parent 8831eff163
commit 299ca007b5

View file

@ -526,6 +526,8 @@ class BaseRLModel(object):
self.actor.reset_noise()
# Select action randomly or according to policy
# TODO: use action from policy when using SDE during the warmup phase?
# if num_timesteps < learning_starts and not self.use_sde:
if num_timesteps < learning_starts:
# Warmup phase
unscaled_action = np.array([self.action_space.sample()])