mirror of
https://github.com/gryf/coach.git
synced 2025-12-18 11:40:18 +01:00
Simulating the act on the trainer. (#65)
* Remove the use of daemon threads for Redis subscribe. * Emulate act and observe on trainer side to update internal vars.
This commit is contained in:
committed by
Balaji Subramaniam
parent
fe6857eabd
commit
fde73ced13
@@ -70,6 +70,7 @@ class ObservationNormalizationFilter(ObservationFilter):
|
||||
return self.running_observation_stats.normalize(observations)
|
||||
|
||||
def get_filtered_observation_space(self, input_observation_space: ObservationSpace) -> ObservationSpace:
|
||||
|
||||
self.running_observation_stats.create_ops(shape=input_observation_space.shape,
|
||||
clip_values=(self.clip_min, self.clip_max))
|
||||
return input_observation_space
|
||||
|
||||
Reference in New Issue
Block a user