Physical AI Data Engineering
How to Build a Manipulation Dataset for Robot Learning
At the cited ACT call site, a train_ratio of 0.8 builds train and validation index lists, and get_norm_stats is then called with num_episodes, not the train index list. This page does not describe the body of get_norm_stats, so whether validation episodes enter the statistics stays on HOLD until you read that function. The card is illustrative and was not executed.
Quick facts
- Topic
- HOW TO Build A Manipulation Dataset
- Audience
- Robotics engineers and ML operators planning a capture or conversion
- Deliverable
- Operational playbook with sample workflow + accept-rule criteria
Read the call that is on the page
The ACT snapshot sets train_ratio to 0.8, slices shuffled episode indices into train and validation lists, then calls get_norm_stats(dataset_dir, num_episodes). The call argument shown is num_episodes, not the train index list. [1] This page does not describe the body of get_norm_stats. Until you read that body on your revision, whether the validation episodes enter the statistics stays on HOLD.
Keep the step fields the same
Optional RLDS step fields are still required to be the same fields on every step of a dataset. [2] A field that exists only on training episodes breaks that rule. This sentence is about fields, not about the normalizer.
Scaling and the action index belong to this consumer
The snapshot rearranges camera tensors from k, h, w, c to k, c, h, w and divides by 255.0. [3] It normalizes action with action_mean and action_std, and qpos with qpos_mean and qpos_std, as separate statistics. [4] For a simulated episode it slices action from start_ts. Otherwise it slices from max(0, start_ts - 1). Those are two branches of this consumer, not a universal action index. [5] Do not treat this contract as every manipulation dataset's schema.
Illustrative split card, not executed
Illustrative card, not executed. train_ratio=0.8 at this call site only; norm_call=get_norm_stats(dataset_dir, num_episodes); validation_inside_norm=HOLD; image_scale=this consumer only; action_index=this consumer only. Outcome: HOLD the split claim until the function body is read. No training run was executed for this guide. TrueLabel is a software operator for capture-process alignment and training-data operations. This page states no integration, no inventory, and no measured training result.
Related pages
Use these to move from category-level context into specific task, dataset, format, and comparison detail.
External references and source context
- EpisodicDataset
The ACT snapshot sets train_ratio to 0.8, slices shuffled episode indices into train and validation lists, then calls get_norm_stats(dataset_dir, num_episodes). The call argument shown is num_episodes, not the train index list. This page does not describe the body of get_norm_stats.
GitHub ↩ - RLDS GitHub repository
Optional RLDS step fields are still required to be the same fields on every step of a dataset.
GitHub ↩ - EpisodicDataset
The ACT snapshot rearranges camera tensors from k,h,w,c to k,c,h,w and divides by 255.0. That scaling belongs to this consumer.
GitHub ↩ - EpisodicDataset
The ACT snapshot normalizes action with action_mean and action_std, and qpos with qpos_mean and qpos_std, as separate statistics.
GitHub ↩ - EpisodicDataset
The same ACT snapshot reads /observations/images/{cam_name}. For is_sim it slices action from start_ts. Otherwise it slices from max(0, start_ts - 1). Those are two branches of this consumer, not a universal action index.
GitHub ↩
FAQ
Does train_ratio 0.8 prove the normalizer saw only training episodes?
No. The snapshot builds train and validation lists, then calls get_norm_stats with num_episodes. The argument shown is num_episodes, not the train index list. The function body is not described here.
Is dividing images by 255 a rule for every dataset?
No. That division, and the layout change from k,h,w,c to k,c,h,w, belong to this ACT consumer.
Do simulated and real episodes use the same action start index?
Not in this snapshot. The simulated branch slices from start_ts. The other branch slices from max(0, start_ts - 1). Those are two branches of this consumer.
Does the same-fields rule replace the split check?
No. Same fields on every step is a separate README rule. The split question is about the get_norm_stats call.
Running your own capture operation?
TrueLabel is the software platform for data providers, labs, and robotics companies that run their own capture operations, taking capture devices through processing to high-quality training and alignment data.