Skip to content

Log terrain progression rates and max-row fraction in terrain_levels_vel - #1336

Closed
M-Colley wants to merge 1 commit into
mujocolab:mainfrom
M-Colley:feat/terrain-curriculum-metrics
Closed

M-Colley wants to merge 1 commit into
mujocolab:mainfrom
M-Colley:feat/terrain-curriculum-metrics

Conversation

@M-Colley

Copy link
Copy Markdown
Contributor

Because TerrainEntity.update_env_origins wraps environments that clear the hardest row to a random row, the mean terrain level converges near the middle of the grid both when a policy has mastered every row and when it stalls halfway up. This PR logs frac_at_max across all environments together with promote_rate and demote_rate over resetting environments (guarded against empty env_ids) in terrain_levels_vel so curriculum mastery is distinguishable from stagnation.

Fixes #1287

Because solved environments wrap to a random row in update_env_origins, mean terrain level converges near the middle of the grid both when a terrain is mastered and when the policy plateaus partway up. Report frac_at_max across all environments along with promote_rate and demote_rate over the resetting batch (guarded against empty env_ids) so ongoing curriculum progress is distinguishable from stagnation.

Fixes mujocolab#1287
@kevinzakka kevinzakka closed this Nov 14, 2026
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.

Feature: log promote/demote rates and frac_at_max from terrain_levels_vel

2 participants