fix(reward_classifier): remove leftover normalization calls from predict_reward #2355
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Removes
normalize_inputsandnormalize_targetscalls from thepredict_rewardmethod that were accidentally left behind during the processor pipeline refactoring in PR #1452.Details
__init__andforwardmethods were properly updated in commit 78b8661 to remove normalizationpredict_rewardmethod was missed, leaving calls to non-existent methodsFixes
AttributeError: 'Classifier' object has no attribute 'normalize_inputs'
Testing
Verified by checking git history that all other policies (ACT, Diffusion, SAC) had their normalization removed in the same way during PR #1452.
Related
predict_reward