Stable baselines updates, and fix

There was a seeding error in SB3 after the gymnasium update, the stable baselines team has patched and fixed the issue, but the reset function has to be aligned.
This commit is contained in:
Richard Jozsa
2023-05-22 10:36:07 +02:00
parent 292bd62973
commit d26aa231fc
2 changed files with 3 additions and 3 deletions

View File

@@ -180,7 +180,7 @@ class BaseEnvironment(gym.Env):
def reset_tensorboard_log(self):
self.tensorboard_metrics = {}
def reset(self):
def reset(self, seed=None):
"""
Reset is called at the beginning of every episode
"""