Skip to content

Add ClipNormWrapper to handle action/obs clipping - #30

Open
mhyatt000 wants to merge 1 commit into
devfrom
codex/create-clip-norm-wrapper-for-env.py
Open

Add ClipNormWrapper to handle action/obs clipping#30
mhyatt000 wants to merge 1 commit into
devfrom
codex/create-clip-norm-wrapper-for-env.py

Conversation

@mhyatt000

Copy link
Copy Markdown
Owner

Summary

  • add ClipNormWrapper so clipping logic stays outside env
  • remove clipping code from LeggedRobot.step

Testing

  • ruff check tag/gym/envs/wrappers/clip_norm.py tag/gym/envs/_lr/env.py --fix
  • ruff format tag/gym/envs/wrappers/clip_norm.py tag/gym/envs/_lr/env.py
  • pytest -q (fails: ModuleNotFoundError: No module named 'genesis')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant