LucasOH commited on
Commit
a4f755e
·
verified ·
1 Parent(s): 33b34fd

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +145 -24
  2. assets/data_vis.gif +3 -0
  3. assets/main_page.png +3 -0
README.md CHANGED
@@ -10,46 +10,142 @@ tags:
10
 
11
  # Giga-World-1 Example Data
12
 
13
- This directory contains example assets and a small toy dataset for testing the GigaWorld-1 data pipeline, training workflow, and inference scripts.
 
 
 
 
 
 
 
14
 
15
  ## Directory Structure
16
 
17
  ```text
18
  example/
19
- ├── infer_assest/
20
  │ ├── control_video.mp4
21
  │ └── input_image.png
22
- └── toy_datapipeline_dataset/
23
- ├── gt/
24
- │ ├── cam_high/
25
- │ ├── cam_left_wrist/
26
- │ └── cam_right_wrist/
27
- ├── plucker/
28
- └── sketch/
29
- └── cam_high/
 
 
 
 
 
30
  ```
31
 
32
  ## Contents
33
 
34
- ### `infer_assest/`
 
 
 
 
 
35
 
36
- Small inference assets used for quick testing:
37
 
38
- - `input_image.png`: input image / first frame for image-to-video rollout generation.
39
- - `control_video.mp4`: control video used by example inference pipelines.
40
 
41
- ### `toy_datapipeline_dataset/`
 
 
42
 
43
- A compact robot video dataset for validating the data preprocessing pipeline.
44
 
45
- - `gt/`: ground-truth multi-view robot videos.
46
- - `cam_high/`: high / third-person camera view.
47
- - `cam_left_wrist/`: left wrist camera view.
48
- - `cam_right_wrist/`: right wrist camera view.
49
- - `plucker/`: Plücker / ray-map control videos for geometric conditioning.
50
- - `sketch/`: sketch-style control videos.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
 
52
- The toy dataset includes several short episodes and is intended for debugging, format verification, and small-scale demonstrations. It is not intended to represent the full training corpus.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
 
54
  ## Usage
55
 
@@ -60,11 +156,36 @@ Example paths:
60
  ```bash
61
  EXAMPLE_ROOT=/path/to/example
62
  INFER_ASSETS=$EXAMPLE_ROOT/infer_assest
63
- TOY_DATASET=$EXAMPLE_ROOT/toy_datapipeline_dataset
 
64
  ```
65
 
66
  Refer to the main project README for detailed commands covering data preparation, inference, visualization, and training.
67
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
68
  ## License
69
 
70
  This example data is released under the Apache License 2.0 unless otherwise specified.
 
10
 
11
  # Giga-World-1 Example Data
12
 
13
+ <p align="center">
14
+ <img src="../assets/main_page.png" alt="Giga-World-1 Main Page" width="100%" />
15
+ </p>
16
+
17
+ - <img src="https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" alt="GitHub" width="18" /> **Code Repository**: `https://github.com/<TODO>` (TBD)
18
+ - <img src="https://img.shields.io/badge/Project-Page-blue?logo=googlechrome&logoColor=white" alt="Project Page" /> **Project Page**: `https://<TODO>` (TBD)
19
+
20
+ This directory provides example assets and toy datasets for testing the GigaWorld-1 inference, data pipeline, and model training workflow.
21
 
22
  ## Directory Structure
23
 
24
  ```text
25
  example/
26
+ ├── infer_assest/ # Inference / rollout assets
27
  │ ├── control_video.mp4
28
  │ └── input_image.png
29
+ ├── toy_datapipeline_dataset/ # Raw LeRobot-format toy dataset
30
+ │ ├── gt/
31
+ │ ├── depth/
32
+ │ ├── plucker/
33
+ │ ├── sketch/
34
+ │ └── labels/
35
+ └── toy_train_dataset/ # Model training data
36
+ ├── nano/
37
+ │ ├── dataset_cache.pkl
38
+ │ └── episode_*.pt
39
+ └── pro/
40
+ ├── dataset_cache.pkl
41
+ └── episode_*.pt
42
  ```
43
 
44
  ## Contents
45
 
46
+ ### `infer_assest/` — Inference Assets
47
+
48
+ Assets used for quick testing of the image-to-video inference / rollout pipeline.
49
+
50
+ - `input_image.png`: input image (used as the first frame) for image-to-video generation.
51
+ - `control_video.mp4`: control video used by the example inference pipelines.
52
 
53
+ ### `toy_datapipeline_dataset/` — Raw LeRobot Dataset
54
 
55
+ A compact robot video dataset shipped in the **raw LeRobot data format**, which can be visualized directly with the [LeRobot](https://github.com/huggingface/lerobot) visualization tools.
 
56
 
57
+ <p align="center">
58
+ <img src="../assets/data_vis.gif" alt="LeRobot visualization of toy_datapipeline_dataset" width="100%" />
59
+ </p>
60
 
61
+ Dataset structure:
62
 
63
+ ```text
64
+ example/toy_datapipeline_dataset/
65
+ ├── gt/ # RGB videos (ground truth)
66
+ │ ├── cam_high/ # head view
67
+ │ ├── cam_left_wrist/ # left wrist view
68
+ │ └── cam_right_wrist/ # right wrist view
69
+ ├── depth/ # Depth Anything V2 outputs
70
+ │ ├── cam_high/
71
+ │ ├── cam_left_wrist/
72
+ │ └── cam_right_wrist/
73
+ ├── plucker/ # Plücker coordinate control signals (left/right per view)
74
+ │ ├── episode_000001_left_direction.mp4
75
+ │ ├── episode_000001_left_moment.mp4
76
+ │ ├── episode_000001_right_direction.mp4
77
+ │ └── episode_000001_right_moment.mp4
78
+ ├── sketch/ # sketch control signals
79
+ │ └── cam_high/
80
+ └── labels/
81
+ ├── data.pkl # per-episode metadata
82
+ └── config.json
83
+ ```
84
+
85
+ Each record in `labels/data.pkl` follows this structure:
86
+
87
+ ```python
88
+ {
89
+ "action": List[List[float]], # end-effector / joint actions
90
+ "data_index": int,
91
+ "episode_name": str,
92
+
93
+ "cam_high_video_path": str,
94
+ "cam_left_wrist_video_path": str,
95
+ "cam_right_wrist_video_path": str,
96
+
97
+ "cam_high_depth_path": str,
98
+ "cam_left_wrist_depth_path": str,
99
+ "cam_right_wrist_depth_path": str,
100
+
101
+ "qpos": List[List[float]], # current joint angles
102
+ "video_height": int,
103
+ "video_width": int,
104
+ "video_length": int,
105
+
106
+ "short-prompt": { # from meta/episodes.jsonl
107
+ "task1": {
108
+ "start_idx": "0",
109
+ "end_idx": "299",
110
+ "description": "put banana into basket"
111
+ }
112
+ },
113
+
114
+ "long-prompt": { # generated by Qwen3-VL on cam_high
115
+ "long prompt 1": {
116
+ "start_idx": "0",
117
+ "end_idx": "299",
118
+ "caption": "The robot arm reaches toward ..."
119
+ }
120
+ }
121
+ }
122
+ ```
123
 
124
+ ### `toy_train_dataset/` — Model Training Data
125
+
126
+ Model training data for the GigaWorld-1 training workflow. This dataset is prepared for directly validating the model training pipeline on a small-scale example.
127
+
128
+ Dataset structure:
129
+
130
+ ```text
131
+ example/toy_train_dataset/
132
+ ├── nano/ # nano-scale toy training split
133
+ │ ├── dataset_cache.pkl # cached dataset index / metadata for fast loading
134
+ │ ├── episode_000000_4834c0369d_s000000_e000129_0-129_121_480_1920.pt
135
+ │ ├── episode_000000_4834c0369d_s000129_e000258_0-129_121_480_1920.pt
136
+ │ └── ...
137
+ └── pro/ # pro-scale toy training split
138
+ ├── dataset_cache.pkl # cached dataset index / metadata for fast loading
139
+ ├── episode_000000_453e4c570c_s000000_e000129_0-129_121_480_1920.pt
140
+ ├── episode_000001_7473d389a6_s000000_e000129_0-129_121_480_1920.pt
141
+ ├── episode_000002_8436313f94_s000000_e000129_0-129_121_480_1920.pt
142
+ └── ...
143
+ ```
144
+
145
+ - `nano/`: a smaller toy training split for quick debugging and smoke tests.
146
+ - `pro/`: a larger toy training split for validating the full training data loader.
147
+ - `dataset_cache.pkl`: cached metadata / dataset index used by the training pipeline.
148
+ - `episode_*.pt`: preprocessed training samples. The filename records the source episode id, segment range, frame range, and spatial resolution.
149
 
150
  ## Usage
151
 
 
156
  ```bash
157
  EXAMPLE_ROOT=/path/to/example
158
  INFER_ASSETS=$EXAMPLE_ROOT/infer_assest
159
+ TOY_PIPELINE_DATASET=$EXAMPLE_ROOT/toy_datapipeline_dataset
160
+ TOY_TRAIN_DATASET=$EXAMPLE_ROOT/toy_train_dataset
161
  ```
162
 
163
  Refer to the main project README for detailed commands covering data preparation, inference, visualization, and training.
164
 
165
+ ## Acknowledgements
166
+
167
+ We sincerely thank the open-source community and the projects that make this work possible.
168
+
169
+ <p align="center">
170
+ <a href="https://github.com/huggingface/diffusers">
171
+ <img src="https://img.shields.io/badge/Diffusers-Hugging%20Face-FFD21E?logo=huggingface&logoColor=black" alt="Diffusers" />
172
+ </a>
173
+ <a href="https://github.com/huggingface/lerobot">
174
+ <img src="https://img.shields.io/badge/LeRobot-Hugging%20Face-FFD21E?logo=huggingface&logoColor=black" alt="LeRobot" />
175
+ </a>
176
+ <a href="https://huggingface.co/">
177
+ <img src="https://img.shields.io/badge/Hugging%20Face-Models-FFD21E?logo=huggingface&logoColor=black" alt="Hugging Face" />
178
+ </a>
179
+ <a href="https://modelscope.cn/">
180
+ <img src="https://img.shields.io/badge/ModelScope-Community-624AFF" alt="ModelScope" />
181
+ </a>
182
+ <a href="https://pytorch.org/">
183
+ <img src="https://img.shields.io/badge/PyTorch-Framework-EE4C2C?logo=pytorch&logoColor=white" alt="PyTorch" />
184
+ </a>
185
+ </p>
186
+
187
+ Thanks also to many other open-source contributors for their tools, models, and community support.
188
+
189
  ## License
190
 
191
  This example data is released under the Apache License 2.0 unless otherwise specified.
assets/data_vis.gif ADDED

Git LFS Details

  • SHA256: 8a5a051cd66958dfa26496e10ad6fb905f2243b7c722fc7337276a8d35b6879c
  • Pointer size: 133 Bytes
  • Size of remote file: 63.6 MB
assets/main_page.png ADDED

Git LFS Details

  • SHA256: 8ebe80601cda0dcd385d4640c878187da33c0887d7984bc88e069d0b0314b536
  • Pointer size: 132 Bytes
  • Size of remote file: 1.55 MB