Download code-original/policy_entry.py from luca0621/robocasa-delayed-recall-eval: direct link, hf CLI and curl.
- Browser
- Download file 683 Bytes
-
https://huggingface.co/datasets/luca0621/robocasa-delayed-recall-eval/resolve/main/code-original/policy_entry.py
- Command line
-
hf download hf://datasets/luca0621/robocasa-delayed-recall-eval/code-original/policy_entry.py
-
curl -L -o policy_entry.py https://huggingface.co/datasets/luca0621/robocasa-delayed-recall-eval/resolve/main/code-original/policy_entry.py
683 Bytes
| """Pinned native predictor, with the author's bit-identical FLA row padding.""" | |
| import os | |
| import sys | |
| from pathlib import Path | |
| root=Path(__file__).resolve().parent | |
| os.environ.update(GIT_CONFIG_COUNT='1', GIT_CONFIG_KEY_0='safe.directory', | |
| GIT_CONFIG_VALUE_0=str(root.parent/'SimpleMemVLA')) | |
| sys.path.insert(0,str(root/'author-code')) | |
| sys.path.insert(0,str(root.parent/'SimpleMemVLA')) | |
| from simplememvla.compat import apply_fla_torch_compat | |
| apply_fla_torch_compat() | |
| from experiments.simplememvla_robocasa.fla_shapes import install | |
| install(int(os.environ.get('SM_L2NORM_ROW_PAD','65536'))) | |
| from experiments.robocasa_memory.evaluation.policy_worker import main | |
| main() | |