From 277885c6e782b78dbc59ff6778955f5c95c3b025 Mon Sep 17 00:00:00 2001 From: Akram Date: Tue, 10 Sep 2024 16:55:09 +0200 Subject: [PATCH] Add a comment in agent.py --- webots/controllers/RL_Supervisor/agent.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webots/controllers/RL_Supervisor/agent.py b/webots/controllers/RL_Supervisor/agent.py index 45769c8..82dafa9 100644 --- a/webots/controllers/RL_Supervisor/agent.py +++ b/webots/controllers/RL_Supervisor/agent.py @@ -108,7 +108,8 @@ def __init__( self.__chkpt_dir = chkpt_dir self.train_mode = False self.__top_speed = top_speed - self.__std_dev = 0.05 + self.__std_dev = 0.05 # When training without an existing model this should be + # set to 0.9 manually self.__memory = Memory(batch_size, max_buffer_length, gamma, gae_lambda) self.__neural_network = Models(actor_alpha, critic_alpha, self.__std_dev, policy_clip) self.__training_index = 0 # Track batch index during training