Skip to main content

Streaming dataloader for robotics trajectory datasets

Project description

Traceplane

Python SDK for the Traceplane trajectory data platform.

Installation

pip install traceplane

With framework extras:

pip install traceplane[torch]     # PyTorch DataLoader
pip install traceplane[jax]       # JAX support
pip install traceplane[training]  # Diffusion policy training
pip install traceplane[all]       # Everything

Quick Start

from traceplane import TraceplaneClient

client = TraceplaneClient("https://api.traceplane.ai", api_key="tp_live_...")

# Register a dataset
client.register("my_data", "/path/to/dataset", include_data=True)

# Query with SQL
rows = client.sql_rows("SELECT * FROM my_data WHERE frame_count > 100")

# Upload data
client.upload_dataset("my_data", "/path/to/parquet/files/")

# Vector search
results = client.search_similar("my_data", episode_index=0, k=5)

Features

  • SQL query engine -- register datasets and query with full SQL, including vector UDFs (vec_mean, vec_norm, vec_cosine_sim, etc.)
  • Streaming dataloaders -- PyTorch, JAX, and TensorFlow adapters with windowed sampling
  • LeRobot format -- native reader for LeRobot v2/v3 datasets (Parquet + MP4)
  • Similarity search -- find related episodes via embedding-based vector search
  • Dataset upload -- push local Parquet files to the platform
  • Retargeting -- XR hand poses to robot action space via calibration bridge
  • Training -- built-in diffusion policy training with traceplane-train CLI

Training Integration

from traceplane import LeRobotReader
from traceplane.torch import TorchEpisodeLoader

reader = LeRobotReader("/path/to/lerobot/dataset")
loader = TorchEpisodeLoader(reader, batch_size=32, window_size=16)

for batch in loader:
    observations = batch["observation"]
    actions = batch["action"]
    # ... your training loop

API Reference

Full documentation: docs.traceplane.ai

License

Apache-2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

traceplane-0.1.0.tar.gz (42.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

traceplane-0.1.0-py3-none-any.whl (46.9 kB view details)

Uploaded Python 3

File details

Details for the file traceplane-0.1.0.tar.gz.

File metadata

  • Download URL: traceplane-0.1.0.tar.gz
  • Upload date:
  • Size: 42.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for traceplane-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3a46deb256aa0bbbcb24702e2a8b1b8655b029619030e47c58be58a058bacbe8
MD5 1ec57eaac61bb4a0c075539cf64ab48d
BLAKE2b-256 a3867164bb17332f5775679adc35661d903702a1e7a3b30360cb38b6db004e16

See more details on using hashes here.

File details

Details for the file traceplane-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: traceplane-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 46.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for traceplane-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e8b9628b05cb0ce9f6b7cac0a3a0e92e09d4573fcfa22ff78e8b4533d68fa75d
MD5 49c66d3e198c2fc039e7cb9115ed1d22
BLAKE2b-256 12ca76c3b8ad5dd5d13ec58be2aac44d5a0b3cae6791426ebe462f004ffc820c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page