Checking branch push
This commit is contained in:
parent
9aa07fed6a
commit
9a2e9f420b
@ -200,6 +200,7 @@ class ReplayBuffer:
|
||||
variable = getattr(buffer, variable)
|
||||
non_zero_indices = np.nonzero(buffer.episode_count)[0]
|
||||
variable = variable[non_zero_indices]
|
||||
|
||||
if obs:
|
||||
variable = variable.reshape(-1, self.args.episode_length,
|
||||
self.args.frame_stack*self.args.channels,
|
||||
|
Loading…
Reference in New Issue
Block a user