File size: 391 Bytes
5840b97
 
 
 
 
 
 
1
2
3
4
5
6
7
from lerobot.processor import PolicyProcessorPipeline

MODEL_ID = "lerobot/smolvla_base"

# The preprocessor and postprocessor are now external
preprocessor = PolicyProcessorPipeline.from_pretrained("lerobot/smolvla_base", config_filename="preprocessor_config.json")
postprocessor = PolicyProcessorPipeline.from_pretrained("lerobot/smolvla_base", config_filename="postprocessor_config.json")