mirror of
https://github.com/gryf/coach.git
synced 2025-12-18 03:30:19 +01:00
remove extra call to super().store_episode
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -94,4 +94,4 @@ def test_update_episode(her):
|
||||
else:
|
||||
assert not transition.game_over
|
||||
|
||||
test_update_episode(her())
|
||||
# test_update_episode(her())
|
||||
|
||||
Reference in New Issue
Block a user