-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] VecNorm.to_observation_norm broken for multiple keys #2036
Comments
Another bug here: When using the VecNorm transform with only one in_key, but a key that isn't a pure string, to_observation_norm also fails. There is an easy fix for this: the to_observation_norm method is missing a call to An example of this situation might occur for instance in the multiagent setting, where the observations might be stored under the key |
Describe the bug
The VecNorm transform produces a bug when calling the to_observation_norm method with multiple keys
To Reproduce
Expected behavior
Should return ObservationNorm but gives following error:
Reason and Possible fixes
Using the VecNorm transform with only one key works - so to do it for multiple keys one can just use it repeatedly with single keys.
Checklist
The text was updated successfully, but these errors were encountered: