1
0
mirror of https://github.com/gryf/coach.git synced 2025-12-18 11:40:18 +01:00

remove extra call to super().store_episode

This commit is contained in:
zach dwiel
2018-10-10 16:20:59 -04:00
parent 7220283653
commit 787ab42578
2 changed files with 1 additions and 5 deletions

View File

@@ -106,10 +106,6 @@ class EpisodicHindsightExperienceReplay(EpisodicExperienceReplay):
]
def store_episode(self, episode: Episode, lock: bool=True) -> None:
# Calling super.store() so that in case a memory backend is used, the memory backend can store this episode.
super().store_episode(episode)
# generate hindsight transitions only when an episode is finished
last_episode_transitions = copy.copy(episode.transitions)

View File

@@ -94,4 +94,4 @@ def test_update_episode(her):
else:
assert not transition.game_over
test_update_episode(her())
# test_update_episode(her())