Skip to content

Commit

Permalink
Add a comment in agent.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Akram authored and Akram committed Sep 10, 2024
1 parent fc76987 commit 277885c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webots/controllers/RL_Supervisor/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 277885c

Please sign in to comment.