mirror of
https://github.com/wassname/ray.git
synced 2026-07-02 01:55:25 +08:00
Small PPO bug (#1265)
This commit is contained in:
committed by
Philipp Moritz
parent
f7c4f41df8
commit
5e37cb8e16
@@ -128,7 +128,7 @@ class MeanStdFilter(object):
|
||||
else:
|
||||
# The unvectorized case.
|
||||
self.rs.push(x)
|
||||
self.buffer.push(x[i])
|
||||
self.buffer.push(x)
|
||||
if self.demean:
|
||||
x = x - self.rs.mean
|
||||
if self.destd:
|
||||
|
||||
Reference in New Issue
Block a user