Skip to content
Snippets Groups Projects
Commit 8749b02f authored by Egli Adrian (IT-SCI-API-PFI)'s avatar Egli Adrian (IT-SCI-API-PFI)
Browse files

fix

parent bfb8373a
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,8 @@ class DataBuffers:
return self.memory.get(handle, [])
def push_transition(self, handle, transition):
self.memory.update({handle: self.get_transitions(handle).append(transition)})
transitions = self.get_transitions(handle).append(transition)
self.memory.update({handle: transitions})
class PPOAgent(Policy):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment