forked from openai/baselines
-
Notifications
You must be signed in to change notification settings - Fork 724
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update VecNormalize normalization (#609)
* VecNormalize: Add public normalize_{obs..,rew} methods * Update changelog * VecNormalize: get_original_{obs,rews} * VecNormalize: Update rewards in reset() Note that after the _update_rews() refactor, self.ret doesn't update anymore if `not self.training`. * update changelog * renames * changelog: fix indent * changelog: nested list needs blank lines * Add tests * Address review, fix tests * update tests * More annotations * Update stable_baselines/common/vec_env/vec_normalize.py Co-Authored-By: Adam Gleave <[email protected]> * Address review comments * Defensive copy
- Loading branch information
1 parent
ba51e25
commit 99dcdba
Showing
3 changed files
with
101 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters