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-trainCLI
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
Release history Release notifications | RSS feed
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.2.0.tar.gz
(77.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file traceplane-0.2.0.tar.gz.
File metadata
- Download URL: traceplane-0.2.0.tar.gz
- Upload date:
- Size: 77.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af55197e3783053f85bd88098ac47a73cdf46089ef786b928b44dcb3d7ca135a
|
|
| MD5 |
6bc80e6beb021ff6a0d93cdbaf75a119
|
|
| BLAKE2b-256 |
10a922cc5ac5e529bc7645273becf7a825f29dd3961c6ab3aad8a611a1243ab0
|
File details
Details for the file traceplane-0.2.0-py3-none-any.whl.
File metadata
- Download URL: traceplane-0.2.0-py3-none-any.whl
- Upload date:
- Size: 89.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
688d50a1105ac21fd45a124a23a3f0553cbb1ecdd34229f109f83130a8d386ea
|
|
| MD5 |
909e136d290ba947b1422ef4519dbac6
|
|
| BLAKE2b-256 |
0bb985b796d07a863a1155d797bab76171a6437dcea6131655f316842c2b13bd
|