Skip to content

fix FastSAC evaluate_policy missing set_is_evaluating call#53

Merged
samuelgundry merged 1 commit intoamazon-far:mainfrom
maedmatt:fix/fast-sac-eval
Feb 19, 2026
Merged

fix FastSAC evaluate_policy missing set_is_evaluating call#53
samuelgundry merged 1 commit intoamazon-far:mainfrom
maedmatt:fix/fast-sac-eval

Conversation

@maedmatt
Copy link
Contributor

@maedmatt maedmatt commented Feb 13, 2026

Description of changes:

FastSAC's evaluate_policy() was missing a set_is_evaluating() call, unlike PPO which has it in _pre_evaluate_policy(). Without this the environment during evaluation:

  • Keeps resampling random velocity commands (command manager doesn't zero them)
  • Keeps applying push perturbations (randomization doesn't skip them)

This makes the robot appear to receive random actions and get pushed around during eval, rather than standing still awaiting keyboard/joystick input.

--
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Contributor

@Juyue Juyue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! Thank you for the fix!

@samuelgundry samuelgundry merged commit 5ad8d4d into amazon-far:main Feb 19, 2026
6 checks passed
@maedmatt maedmatt deleted the fix/fast-sac-eval branch February 20, 2026 11:07
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.

3 participants