remove extra call to super().store_episode
This commit is contained in:
1 parent
7220283653
commit
787ab42578
2 files changed
+1
-5
No files matched your search
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user