Repository navigation
Remove RSL-RL policy scoring and restore ANYmal PPO defaults #9218
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| * Removed the unreleased RSL-RL ``--evaluate`` policy-scoring mode and its helper. Use | ||
| ``isaaclab play --rl_library rsl_rl`` for ordinary policy playback. |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| * Restored the ANYmal C flat RSL-RL agent's concrete experiment name and default action clipping by removing | ||
| its neural-physics-specific overrides. Set ``agent.experiment_name`` and ``agent.clip_actions`` explicitly | ||
| when a run needs different values. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,9 +8,6 @@ | |
| from isaaclab_rl.rsl_rl import RslRlMLPModelCfg, RslRlOnPolicyRunnerCfg, RslRlPpoAlgorithmCfg, RslRlSymmetryCfg | ||
|
|
||
| from isaaclab_tasks.core.velocity.mdp.symmetry import anymal | ||
| from isaaclab_tasks.utils import preset | ||
|
|
||
| from ..flat_env_cfg import ANYMAL_C_NERD_TARGET_REACH | ||
|
|
||
|
|
||
| @configclass | ||
|
|
@@ -53,10 +50,7 @@ def __post_init__(self): | |
| super().__post_init__() | ||
|
|
||
| self.max_iterations = 300 | ||
| self.experiment_name = preset(default="anymal_c_flat", newton_nerd="anymal_c_flat_nerd") | ||
| # Under physics=newton_nerd the task clips its joint targets to the range the model was recorded on. Clipping | ||
| # the actions to the same range lets the policy observe the action that was applied. | ||
| self.clip_actions = preset(default=self.clip_actions, newton_nerd=ANYMAL_C_NERD_TARGET_REACH / 0.5) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 Warning · Compatibility — Transition neural action clipping Removing the newton_nerd override changes the agent's action bound while deployment still clips joint targets. Preserve the prior default through deprecation with a targeted warning, explicit override guidance, and transition tests. |
||
| self.experiment_name = "anymal_c_flat" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 Warning · Compatibility — Transition the neural experiment default physics=newton_nerd now selects anymal_c_flat instead of anymal_c_flat_nerd, changing run and checkpoint lookup. Preserve the prior selection through deprecation with a targeted warning, explicit override guidance, and transition tests. |
||
| self.actor.hidden_dims = [128, 128, 128] | ||
| self.critic.hidden_dims = [128, 128, 128] | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 Warning · Compatibility — Deprecate scoring before removal
Documented --evaluate commands now fail parsing, and score_policy callers lose the function. Keep both functional through deprecation with targeted warnings, migration and removal guidance, and old/new path tests.