Skip to content

Refactor PPO imitation loss behind env-owned adapter - #83

Merged
rohanpsingh merged 2 commits into
mainfrom
dev/imitation-loss
May 2, 2026
Merged

Refactor PPO imitation loss behind env-owned adapter#83
rohanpsingh merged 2 commits into
mainfrom
dev/imitation-loss

Conversation

@rohanpsingh

@rohanpsingh rohanpsingh commented May 2, 2026

Copy link
Copy Markdown
Owner

PPO no longer hardcodes obs/action layout for the expert. Envs that support imitation return an ImitationProjector from imitation_projector(); PPO calls it on each minibatch to get expert obs, sample mask, and action indices. --imitate without an adapter raises clearly.

PPO no longer hardcodes obs/action layout for the expert. Envs that
support imitation return an ImitationAdapter from imitation_adapter();
PPO calls it on each minibatch to get expert obs, sample mask, and
action indices. --imitate without an adapter raises clearly.
@rohanpsingh
rohanpsingh enabled auto-merge (squash) May 2, 2026 19:31
@rohanpsingh
rohanpsingh merged commit cd8c655 into main May 2, 2026
2 checks passed
@rohanpsingh
rohanpsingh deleted the dev/imitation-loss branch May 2, 2026 19:35
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.

1 participant