Skip to content

Commit

Permalink
fix log loop
Browse files Browse the repository at this point in the history
  • Loading branch information
thatguy11325 committed Jun 21, 2024
1 parent 4c8fffe commit 7963802
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions pokemonred_puffer/cleanrl_puffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,13 +297,8 @@ def evaluate(self):
)
if self.wandb_client is not None:
self.stats["Media/aggregate_exploration_map"] = wandb.Image(overlay)

for k, v in self.infos.items():
if "_map" in k and self.wandb_client is not None:
self.stats[f"Media/{k}"] = wandb.Image(v[0])
continue
elif "state" in k:
pass
continue

try: # TODO: Better checks on log data types
self.stats[k] = np.mean(v)
Expand Down

0 comments on commit 7963802

Please sign in to comment.