Skip to content

Commit

Permalink
remove unneeded conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
thatguy11325 committed Oct 27, 2024
1 parent b56d4a3 commit ab740c3
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 @@ -284,7 +284,7 @@ def evaluate(self):
with self.profile.eval_misc:
# TODO: use the event infos instead of the states.
# I'm always running with state saving on right now so it's alright
if self.states and "required_count" in self.infos["stats"] and self.config.early_stop:
if self.states and self.config.early_stop:
to_delete = []
for event, minutes in self.config.early_stop.items():
if any(event in key for key in self.states.keys()):
Expand Down

0 comments on commit ab740c3

Please sign in to comment.