robocasa-delayed-recall-eval / code-original /policy_entry_bounded.py
luca0621's picture
Delayed-recall memory eval environments (immediate, 1/5/15/30/60 min; cup/spice), evaluation code, results so far
80a8599 verified
Raw History Blame Contribute Delete
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()