Download code-original/policy_entry_bounded.py from luca0621/robocasa-delayed-recall-eval: direct link, hf CLI and curl.
- Browser
- Download file 927 Bytes
-
https://huggingface.co/datasets/luca0621/robocasa-delayed-recall-eval/resolve/main/code-original/policy_entry_bounded.py
- Command line
-
hf download hf://datasets/luca0621/robocasa-delayed-recall-eval/code-original/policy_entry_bounded.py
-
curl -L -o policy_entry_bounded.py https://huggingface.co/datasets/luca0621/robocasa-delayed-recall-eval/resolve/main/code-original/policy_entry_bounded.py
927 Bytes
| """cotrain-ck3000-20261114/policy_entry.py plus disk-backed history buffers (SM_HISTORY_DIR). Same paths and patches otherwise.""" | |
| import os | |
| import sys | |
| from pathlib import Path | |
| root = Path('/data/robo_ttt/robocasa_memory_20261103/evaluation-ck30000-20261108/cotrain-ck3000-20261114') | |
| 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'))) | |
| sys.path.append(str(Path(__file__).resolve().parent)) | |
| from disk_frames import patch | |
| patch(os.environ['SM_HISTORY_DIR']) | |
| from experiments.robocasa_memory.evaluation.policy_worker import main | |
| main() | |