Downloads · 30 days
9
13% of all-time downloads
naungth/pi0_trossen_toolbox
pi0_trossen_toolbox is a robotics model from naungth. Use it for the robotics task on the model card, and read the license before you ship it in a product. It is set up for openpi. The card lists the license as mit.
This is a Pi-0 (Pi-Zero) model trained for Trossen toolbox manipulation tasks using the OpenPI framework.
Downloads · 30 days
9
13% of all-time downloads
All-time downloads
68
Public
Repo size
43 GB
Likes
0
Public
Click a slice to open those files.
Other43 GB · 100%
From the Hugging Face model README
This is a Pi-0 (Pi-Zero) model trained for Trossen toolbox manipulation tasks using the OpenPI framework.
Trained on the naungth/pi0_trossen_toolbox dataset with various toolbox manipulation tasks.
from openpi.policies import policy_config
from openpi.training import config
# Load the model configuration
config_name = "pi0_trossen_toolbox"
train_config = config.get_config(config_name)
# Create policy from your local checkpoint
policy = policy_config.create_trained_policy(
train_config,
"path/to/checkpoint",
default_prompt="manipulate the toolbox"
)
# Use for inference
observation = {
"images": {
"cam_high": image_array, # [H, W, 3] uint8
"cam_left_wrist": left_wrist_image, # [H, W, 3] uint8
"cam_right_wrist": right_wrist_image, # [H, W, 3] uint8
},
"state": joint_positions, # [14] float32
"prompt": "manipulate the toolbox"
}
actions = policy.infer(observation)["actions"] # [50, 14]
# Start the policy server
uv run scripts/serve_policy.py policy:checkpoint \
--policy.config=pi0_trossen_toolbox \
--policy.dir=path/to/checkpoint
# Use with client
from openpi_client import websocket_client_policy
client = websocket_client_policy.WebsocketClientPolicy("localhost", 8000)
actions = client.infer(observation)
MIT License
If you use this model, please cite:
@article{pi0,
title={Pi-Zero: A Diffusion-Based Policy for Robot Manipulation},
author={TODO: Add authors},
year={2024}
}