Skip to content

Commit

Permalink
Was a tad too eager on the delete
Browse files Browse the repository at this point in the history
  • Loading branch information
thatguy11325 committed Oct 27, 2024
1 parent db12917 commit 1f76669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pokemonred_puffer/cleanrl_puffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,12 +335,12 @@ def evaluate(self):
self.early_stop = True
break
for event in to_delete:
del self.config.early_stop[event]
print(
f"Satisified early stopping constraint for {event} within "
f"{self.config.early_stop[event]} minutes. "
f"Event found n {self.profile.uptime // 60} minutes"
)
del self.config.early_stop[event]

# V2 implementation
# check if we have a new highest required_count with N save states available
Expand Down

0 comments on commit 1f76669

Please sign in to comment.