From 454c77bc259724fe57e7b1f1bbe1bbd774eddc7a Mon Sep 17 00:00:00 2001 From: Jinay Jain Date: Sun, 21 Apr 2024 20:54:48 -0400 Subject: [PATCH] Change actor_update_interval to policy_frequency in comment --- cleanrl/sac_continuous_action.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cleanrl/sac_continuous_action.py b/cleanrl/sac_continuous_action.py index 019608442..c3781e776 100644 --- a/cleanrl/sac_continuous_action.py +++ b/cleanrl/sac_continuous_action.py @@ -267,7 +267,7 @@ def get_action(self, x): if global_step % args.policy_frequency == 0: # TD 3 Delayed update support for _ in range( args.policy_frequency - ): # compensate for the delay by doing 'actor_update_interval' instead of 1 + ): # compensate for the delay by doing 'policy_frequency' updates instead of 1 pi, log_pi, _ = actor.get_action(data.observations) qf1_pi = qf1(data.observations, pi) qf2_pi = qf2(data.observations, pi)