Download post_processor.py from HenryZhang/BoxTestingv11771283373.4644873: direct link, hf CLI and curl.
- Browser
- Download file 391 Bytes
-
https://huggingface.co/HenryZhang/BoxTestingv11771283373.4644873/resolve/main/post_processor.py
- Command line
-
hf download hf://HenryZhang/BoxTestingv11771283373.4644873/post_processor.py
-
curl -L -o post_processor.py https://huggingface.co/HenryZhang/BoxTestingv11771283373.4644873/resolve/main/post_processor.py
391 Bytes
| 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") |