Skip to content

Commit

Permalink
Log entropy coefficient
Browse files Browse the repository at this point in the history
  • Loading branch information
thatguy11325 committed Mar 14, 2024
1 parent 9e95a4e commit 7b13e7f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pokemonred_puffer/cleanrl_puffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,14 @@ def evaluate(self):
self.ent_coef = self.config.ent_coef * 1.25
else:
self.ent_coef = self.config.ent_coef
if self.log and self.wandb is not None:
self.wandb.log(
{
"stats/ent_coef": self.ent_coef,
"stats/ent_coef_len": len(self.events_avg),
},
)

eval_profiler.stop()

self.total_agent_steps += padded_steps_collected
Expand Down

0 comments on commit 7b13e7f

Please sign in to comment.