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