refactor(factory): streamline processor loading by removing unused comments

- Removed commented-out code related to loading pretrained processors in the make_processor function.
- This change enhances code clarity and maintains focus on the current implementation.
This commit is contained in:
AdilZouitine
2025-08-08 13:23:26 +02:00
parent abcbc16126
commit 8bde9d0ab7
-2
View File
@@ -140,8 +140,6 @@ def make_processor(
NotImplementedError: If the policy type doesn't have a processor implemented.
"""
if pretrained_path:
# Load a pretrained processor
# TODO(azouitine): Handle this case.
return (
RobotProcessor.from_pretrained(
pretrained_model_name_or_path=pretrained_path,