Skip to content

Commit

Permalink
Change actor_update_interval to policy_frequency in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
JinayJain committed Apr 22, 2024
1 parent 8cbca61 commit 454c77b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cleanrl/sac_continuous_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 454c77b

Please sign in to comment.