Skip to content

fix(isaaclab): normalize observations before first policy act#8

Open
Abhishek21g wants to merge 1 commit into
amazon-far:mainfrom
Abhishek21g:fix/first-obs-normalization
Open

fix(isaaclab): normalize observations before first policy act#8
Abhishek21g wants to merge 1 commit into
amazon-far:mainfrom
Abhishek21g:fix/first-obs-normalization

Conversation

@Abhishek21g

Copy link
Copy Markdown

Summary

Fixes #6 — the first observation from get_observations() was passed to act() without empirical normalization, while all subsequent rollout steps normalize obs after env.step().

Adds normalization before the training loop starts, matching rsl_rl behavior.

Changes

  • on_policy_runner.py: normalize obs and privileged_obs before the first act() call

Test plan

  • Code review — when empirical_normalization=False, normalizers are Identity (no-op)
  • Short G1 locomotion smoke run to confirm no regression at iter 0

Note

No GPU available locally for author verification; fix is a clear consistency bug from code review.

The initial observation from get_observations() was passed to act()
without empirical normalization, while all subsequent rollout steps
normalize obs after env.step(). Align with rsl_rl behavior and fix amazon-far#6.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

First observation is Unnormalized.

1 participant