You need to agree to share your Hugging Face information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

ReFocus checkpoints

Policy weights for ReFocus.

RoboCasa365 Composite-Seen

Download models/robocasa/ and preserve the directory structure. Use the RoboCasa OpenPI fork with the Composite-Seen policy configuration.

  • model.safetensors contains the PyTorch inference policy.
  • config.json describes the model architecture and action chunk.
  • robocasa365/norm_stats.json contains the state and action normalization statistics. assets/norm_stats.json mirrors them for the OpenPI assets layout.

Load the policy with mean/std normalization:

import dataclasses
from pathlib import Path

from openpi.policies import policy_config
from openpi.shared import normalize
from openpi.training import config

root = Path("models/robocasa")
stats = normalize.load(root / "robocasa365")
cfg = config.get_config("pi05_robocasa_finetune_target_composite_seen")
cfg = dataclasses.replace(
    cfg,
    data=dataclasses.replace(
        cfg.data,
        base_config=config.DataConfig(norm_stats=stats, use_quantile_norm=False),
    ),
)
policy = policy_config.create_trained_policy(
    cfg,
    root,
    norm_stats=stats,
    pytorch_device="cuda",
    sample_kwargs={"num_steps": 10},
)

LIBERO-Long

Download models/libero/ and preserve the directory structure. Use the RLinf OpenPI evaluation loader with the pi05_libero policy configuration.

  • model.safetensors contains the PyTorch inference policy.
  • config.json describes the model architecture and action chunk.
  • physical-intelligence/libero/norm_stats.json contains the state and action normalization statistics.

Load the policy with quantile normalization.

import dataclasses
from pathlib import Path

from openpi.shared import normalize
from openpi.training.config import DataConfig
from rlinf.models.embodiment.openpi.dataconfig import _CONFIGS_DICT
from toolkits.eval_scripts_openpi import create_trained_policy

root = Path("models/libero")
cfg = _CONFIGS_DICT["pi05_libero"]
cfg = dataclasses.replace(
    cfg,
    data=dataclasses.replace(
        cfg.data,
        base_config=dataclasses.replace(
            cfg.data.base_config or DataConfig(), use_quantile_norm=True
        ),
        extra_delta_transform=False,
    ),
)
policy = create_trained_policy(
    cfg,
    root,
    norm_stats=normalize.load(root / "physical-intelligence/libero"),
    pytorch_device="cuda",
    sample_kwargs={"num_steps": 10},
)
Downloads last month
-