Views
No views yet
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | |
|---|---|---|---|---|---|---|---|---|---|---|
| put_spoon_on_tablecloth/matching_partial | 0.8333333333333334 | nan | nan | 0.167 | nan | 0.347 | 0.778 | nan | 0.041 | 0.375 |
| put_spoon_on_tablecloth/matching_entire | 0.625 | nan | nan | 0.0 | nan | 0.125 | 0.472 | nan | 0.0 | 0.208 |
| put_carrot_on_plate/matching_partial | 0.5416666666666666 | nan | nan | 0.208 | nan | 0.528 | 0.278 | nan | 0.333 | 0.333 |
| put_carrot_on_plate/matching_entire | 0.4583333333333333 | nan | nan | 0.042 | nan | 0.083 | 0.097 | nan | 0.0 | 0.25 |
| stack_green_block_on_yellow_block/matching_partial | 0.7083333333333334 | nan | nan | 0.083 | nan | 0.319 | 0.403 | nan | 0.125 | 0.083 |
| stack_green_block_on_yellow_block/matching_entire | 0.16666666666666666 | nan | nan | 0.0 | nan | 0.0 | 0.042 | nan | 0.0 | 0.083 |
| put_eggplant_in_basket/matching_partial | 0.4166666666666667 | nan | nan | 0.0 | nan | 0.667 | 0.875 | nan | 0.083 | 0.0 |
| put_eggplant_in_basket/matching_entire | 0.20833333333333334 | nan | nan | 0.0 | nan | 0.431 | 0.569 | nan | 0.041 | 0.0 |
| ckpt_name | GR00T-N1.5 | RT-1(Converged) | RT-1(15%) | RT-1-X | RT-2-X | Octo-Base | Octo-Small | RT-1(begin) | OpenVLA | RoboVLM |
data_config.py, I also provide the modality.json, which is required for the GR00T dataloader.1
2class FractalDataConfig(So100DataConfig):
3 video_keys = ["video.image", ]
4 state_keys = ["state.x", "state.y", "state.z", "state.rx", "state.ry", "state.rz", "state.rw", "state.gripper"]
5 action_keys = ["action.x", "action.y", "action.z", "action.roll", "action.pitch", "action.yaw", "action.gripper"]
6 language_keys = ["annotation.human.action.task_description"]
7
8 def transform(self) -> ModalityTransform:
9 transforms = [
10 # video transforms
11 VideoToTensor(apply_to=self.video_keys),
12 VideoCrop(apply_to=self.video_keys, scale=0.95),
13 VideoResize(apply_to=self.video_keys, height=224, width=224, interpolation="linear"),
14 VideoColorJitter(
15 apply_to=self.video_keys,
16 brightness=0.3,
17 contrast=0.4,
18 saturation=0.5,
19 hue=0.08,
20 ),
21 VideoToNumpy(apply_to=self.video_keys),
22 # state transforms
23 StateActionToTensor(apply_to=self.state_keys),
24 StateActionTransform(
25 apply_to=self.state_keys,
26 normalization_modes={key: "min_max" for key in self.state_keys},
27 ),
28 # action transforms
29 StateActionToTensor(apply_to=self.action_keys),
30 StateActionTransform(
31 apply_to=self.action_keys,
32 normalization_modes={key: "min_max" for key in self.action_keys},
33 ),
34 # concat transforms
35 ConcatTransform(
36 video_concat_order=self.video_keys,
37 state_concat_order=self.state_keys,
38 action_concat_order=self.action_keys,
39 ),
40 # model-specific transform
41 GR00TTransform(
42 state_horizon=len(self.observation_indices),
43 action_horizon=len(self.action_indices),
44 max_state_dim=64,
45 max_action_dim=32,
46 ),
47 ]
48 return ComposedModalityTransform(transforms=transforms)
49
50
51class BridgeDataConfig(FractalDataConfig):
52 video_keys = ["video.image_0", ]
53 state_keys = ["state.x", "state.y", "state.z", "state.roll", "state.pitch", "state.yaw", "state.pad", "state.gripper"]
54 action_keys = ["action.x", "action.y", "action.z", "action.roll", "action.pitch", "action.yaw", "action.gripper"]
55 language_keys = ["annotation.human.action.task_description"]
561
2class EmbodimentTag(Enum):
3 OXE = 'oxe'
4
5# Embodiment tag string: to projector index in the Action Expert Module
6EMBODIMENT_TAG_MAPPING = {
7 EmbodimentTag.OXE.value: 7,
8}
9