Skip to content

Fix(train): add processor overrides with normalizer and unnormalizer stats#2038

Merged
AdilZouitine merged 2 commits into
mainfrom
fix/from_pretrain_processor_overiddes
Sep 26, 2025
Merged

Fix(train): add processor overrides with normalizer and unnormalizer stats#2038
AdilZouitine merged 2 commits into
mainfrom
fix/from_pretrain_processor_overiddes

Conversation

@AdilZouitine
Copy link
Copy Markdown
Collaborator

Fix(train): add processor overrides with normalizer and unnormalizer stats

@AdilZouitine AdilZouitine self-assigned this Sep 25, 2025
Copilot AI review requested due to automatic review settings September 25, 2025 12:36
@AdilZouitine AdilZouitine added bug Something isn’t working correctly processor Issue related to processor labels Sep 25, 2025
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes processor initialization by adding normalizer and unnormalizer statistics overrides when loading pretrained models. The change ensures that both preprocessing and postprocessing steps have access to the dataset statistics needed for proper data normalization.

  • Adds normalizer processor overrides with dataset statistics for preprocessing
  • Adds unnormalizer processor overrides with dataset statistics for postprocessing
  • Expands the existing device processor override structure

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Copy Markdown
Collaborator

@imstevenpmwork imstevenpmwork left a comment

Choose a reason for hiding this comment

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

LGTM

@imstevenpmwork imstevenpmwork self-requested a review September 26, 2025 12:05
@AdilZouitine AdilZouitine merged commit ddfff05 into main Sep 26, 2025
10 checks passed
@AdilZouitine AdilZouitine deleted the fix/from_pretrain_processor_overiddes branch September 26, 2025 12:32
massu2002 pushed a commit to massu2002/lerobot that referenced this pull request Dec 17, 2025
sandhya-cb pushed a commit to sandhya-cb/lerobot-clutterbot that referenced this pull request Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn’t working correctly processor Issue related to processor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants