Instructions to use tmhoanggg/so101-stack-cup-v3-pi05 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use tmhoanggg/so101-stack-cup-v3-pi05 with LeRobot:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download code/train_pi05.py from tmhoanggg/so101-stack-cup-v3-pi05: direct link, hf CLI and curl.
- Browser
- Download file 708 Bytes
-
https://huggingface.co/tmhoanggg/so101-stack-cup-v3-pi05/resolve/main/code/train_pi05.py
- Command line
-
hf download hf://tmhoanggg/so101-stack-cup-v3-pi05/code/train_pi05.py
-
curl -L -o train_pi05.py https://huggingface.co/tmhoanggg/so101-stack-cup-v3-pi05/resolve/main/code/train_pi05.py
708 Bytes
| """lerobot-train, with PaliGemma's SigLIP swapped for a frozen encoder when PI05_ENCODER is set | |
| (vigil_vit | siglip2 | r3m | vc1); unset = standard pi0.5. Same CLI flags as lerobot-train.""" | |
| import os, sys | |
| sys.path.insert(0, os.path.dirname(os.path.abspath(__file__))) | |
| if __name__ == "__main__": # data workers are spawned and re-import this file | |
| if os.environ.get("PI05_ENCODER"): | |
| import encoder_swap | |
| encoder_swap.apply(os.environ["PI05_ENCODER"]) | |
| if os.environ.get("PI05_AUX"): # encoder added through the side branch (aux_inject.py) | |
| import aux_inject | |
| aux_inject.apply(os.environ["PI05_AUX"]) | |
| from lerobot.scripts.lerobot_train import main | |
| main() | |