rerun-lerobot
यह क्या करती है
यह स्किल बताती है कि Hugging Face से LeRobot डेटासेट को Rerun टूल में कैसे लाया जाए। यह रोबोट लर्निंग डेटा के साथ काम करने वाले लोगों के लिए है जो उसे देखना या बदलना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप LeRobot डेटासेट फ़ोल्डर को Rerun में खोलकर उसके वीडियो और जॉइंट डेटा देखना चाहते हैं।
- ✓जब आपको LeRobot डेटासेट को अलग Rerun फ़ाइलों में बाँटना हो, हर एपिसोड के लिए एक।
- ✓जब आप LeRobot डेटासेट का कुछ हिस्सा डाउनलोड करना चाहते हैं, जैसे पहले कुछ एपिसोड।
Skill का लिंक
https://github.com/rerun-io/rerun/blob/main/skills/rerun-lerobot/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मुझे यह LeRobot डेटासेट Hugging Face से Rerun में लोड करने में मदद कीजिए, ताकि मैं एपिसोड देख सकूँ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल बताती है कि कौन-सा रास्ता ठीक है: देखने के लिए बिल्ट-इन इम्पोर्टर, या बदलने के लिए हर एपिसोड पढ़ने वाला रीडर। यह डाउनलोड का आंशिक होना संभव है या नहीं, यह डेटासेट वर्शन से जाँचती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Rerun LeRobot ingestion
There are two ways in, and which one you want depends on whether you are viewing or converting.
- Just viewing? Rerun has a built-in LeRobot importer: point
log_file_from_path(or the viewer, orrerun <dir>on the CLI) at the dataset directory and it ingests episodes, camera videos, and state/action tables with no conversion code. - Converting?
rr.experimental.LeRobotReaderreads the dataset one episode at a time as a lazy chunk stream, which is what you want for per-episode RRDs and for lenses.
The download step needs huggingface_hub.
Step 0: pick a dataset and check the HF token
Both scripts below live in scripts/ next to this file, and run standalone through uv — they declare huggingface_hub inline, so there is no environment to set up.
Two facts decide what a dataset costs to fetch, and the Hub search results show neither. Get both, for every candidate, in one call:
uv run scripts/find_lerobot_dataset.py <query> --robot-type <robot> --want 5
codebase_version decides whether a partial download is possible at all.
- v2.1 and earlier store one parquet and one mp4 per episode (
video_pathends inepisode_{episode_index:06d}.mp4), so "just the first N episodes" downloads only those episodes. - v3.0 concatenates every episode into a few large files (
video_pathends infile-{file_index:03d}.mp4), so any subset costs the whole download. If the user asked for a few episodes, prefer a v2.1 dataset — for the download only.LeRobotReaderreads a single episode out of either version once the files are local.
How camera frames are stored decides the size, and it varies by two orders of magnitude.
The frames and MB/ep columns report it:
mp4: avideo-dtype feature, one file per episode beside the parquet.inline: animage-dtype feature, raw frames inside the episode parquet, which is far larger for the same footage.
Both scripts report the actual size for the dataset in hand, so use that number rather than guessing.
Tell the user the size before you start the download, and prefer mp4 unless they asked for something only the other set has.
HF_TOKEN is not required for public datasets, but without it the Hub rate-limits and throttles downloads.
If it is unset, say so and point the user at https://huggingface.co/settings/tokens to create a read token, then export HF_TOKEN=hf_… (or hf auth login).
Do not block on it — carry on unauthenticated and let the user decide.
[ -n "$HF_TOKEN" ] || echo "HF_TOKEN unset — downloads will be throttled"
Step 1: dataset -> one combined RRD
Only needed if you want every episode in one file — to hand someone a single RRD, or to reprocess data you cannot re-read from the dataset directory.
For per-episode segments, skip to Step 2 and let LeRobotReader read the dataset directly.
from huggingface_hub import snapshot_download
import rerun as rr
dataset_dir = snapshot_download(repo_id=repo_id, repo_type="dataset", local_dir=dest)
with rr.RecordingStream("rerun_example_lerobot") as rec:
rec.save(str(combined_rrd))
rec.log_file_from_path(str(dataset_dir)) # the built-in importer
The importer emits one recording per episode (recording ids like episode_1), plus a metadata-only root recording, all into the single RRD.
rr.RecordingStream + log_file_from_path here is the importer bootstrap — the one place RecordingStream is correct in an ingestion pipeline (it drives the built-in importer, not per-message logging). Do not generalize it to rr.log-per-message loops; for everything after import, reprocess with a reader + lenses (see rerun-chunk-processing: Chunk API vs logging API).
Downloading only the first few episodes
uv run scripts/fetch_lerobot_episodes.py <repo_id> --episodes 5 # prints the dataset directory
It reports the download size before starting, downloads meta/* plus the wanted episode_%06d files, trims meta/ to match, verifies that exactly the requested episodes landed, and prints what it got.
Its last line is the dataset directory; do not follow it with find or du.
Do the equivalent by hand and three things bite:
- The importer iterates the episode list in
meta/, so an untrimmedmeta/warns once per absent episode. snapshot_downloadwrites into an existing directory, so episodes left by an earlier run with a different N survive and inflate the result.- Bot
अक्सर पूछे जाने वाले सवाल
क्या मुझे Hugging Face टोकन चाहिए?
डाउनलोड चरण के लिए huggingface_hub लाइब्रेरी और Hugging Face टोकन चाहिए, और स्किल पहले टोकन की जाँच करती है।
देखने और बदलने में क्या अंतर है?
देखने में Rerun का बिल्ट-इन इम्पोर्टर डेटासेट फ़ोल्डर पर चलता है। बदलने में एक समय में एक एपिसोड पढ़ा जाता है, ताकि हर एपिसोड अलग सेव हो सके।
क्या मैं सिर्फ़ पहले कुछ एपिसोड डाउनलोड कर सकता हूँ?
अक्सर हाँ, वर्शन 2.1 और उससे पहले के डेटासेट के लिए, जिनमें हर एपिसोड की अलग फ़ाइल होती है। वर्शन 3.0 एपिसोड को कुछ बड़ी फ़ाइलों में जोड़ता है, इसलिए यह मुश्किल है।
जानकारी
लेखक का मूल विवरण
Ingest a LeRobot (HuggingFace) dataset into Rerun. Read when converting a LeRobot dataset to RRDs, splitting it into per-episode segments, or registering it on a Rerun catalog. Covers the built-in directory importer (log_file_from_path), the per-episode LeRobotReader, and when to drop to ParquetReader for custom control.
repo: rerun-io/rerun
लोकप्रियता
- GitHub स्टार
- 12k
- रैंकिंग में स्थान
- #11554
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
investigate-puffin
12kयह आपके एजेंट को Puffin प्रोफ़ाइलर रिकॉर्डिंग जाँचने, धीमे कोड भाग ढूँढने और बदलाव से पहले-बाद के ट्रेस की तुलना करने में मदद करती है।
rerun-blueprint
12kआपके एजेंट को ब्लूप्रिंट लिखकर Rerun व्यूअर का लेआउट, व्यू और छिपे कॉलम बदलना सिखाती है।
rerun-catalog-queries
12kयह आपके एजेंट को Python से Rerun कैटलॉग पर क्वेरी तेज़ करने में मदद करती है, राउंड ट्रिप, डेटा आकार और धीमी रीड के सुझावों के साथ।
rerun-chunk-processing
12kआपके एजेंट को Rerun डेटा पाइपलाइन बनाना सिखाती है, जो रीडर और लेंस से MCAP, Parquet, वीडियो या RRD फ़ाइलों को रिकॉर्डिंग में बदलती है।
मिलती-जुलती skills
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
slacrawl
394kयह आपके एजेंट को स्थानीय Slack आर्काइव में संदेश खोजने और गिनने, उसकी ताज़गी जांचने और ज़रूरत पड़ने पर उसे ताज़ा करने देती है।
goplaces
394kयह आपके एजेंट को Google Places से जगहें खोजने, उनका विवरण और समीक्षाएं पाने, और जगह के नाम हल करने में मदद करती है, स्क्रिप्ट के लिए JSON आउटपुट के साथ।