MCPcopy Create free account
hub / github.com/Yonv1943/Python / get_avg_std__for_state_norm

Function get_avg_std__for_state_norm

ElegantRL/env.py:167–254  ·  view source on GitHub ↗

return the state normalization data: neg_avg and div_std ReplayBuffer.print_state_norm() will print `neg_avg` and `div_std` You can save these array to here. And PreprocessEnv will load them automatically. eg. `state = (state + self.neg_state_avg) * self.div_state_std` in `PreprocessEnv

(env_name)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__init__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected