Update DDPG

This commit is contained in:
Shangtong Zhang
2017-11-11 15:27:06 -07:00
parent 41627588fb
commit edc4e89b9b
3 changed files with 9 additions and 11 deletions
+1 -1
View File
@@ -46,4 +46,4 @@ class OrnsteinUhlenbeckProcess(AnnealedGaussianProcess):
return x
def reset_states(self):
self.x_prev = self.x0 if self.x0 is not None else np.zeros(self.size)
self.x_prev = self.x0 if self.x0 is not None else np.zeros(self.size)