Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +1 -0
- README.md +65 -0
- clips/agibot/shard-00000.tar +3 -0
- clips/agibot/shard-00001.tar +3 -0
- clips/agibot/shard-00002.tar +3 -0
- clips/agibot/shard-00003.tar +3 -0
- clips/agibot/shard-00004.tar +3 -0
- clips/agibot/shard-00005.tar +3 -0
- clips/agibot/shard-00006.tar +3 -0
- clips/agibot/shard-00007.tar +3 -0
- clips/agibot/shard-00008.tar +3 -0
- clips/agibot/shard-00009.tar +3 -0
- clips/agibot/shard-00010.tar +3 -0
- clips/agibot/shard-00011.tar +3 -0
- clips/agibot/shard-00012.tar +3 -0
- clips/agibot/shard-00013.tar +3 -0
- clips/agibot/shard-00014.tar +3 -0
- clips/agibot/shard-00015.tar +3 -0
- clips/agibot/shard-00016.tar +3 -0
- clips/droid/shard-00000.tar +3 -0
- clips/droid/shard-00002.tar +3 -0
- clips/droid/shard-00003.tar +3 -0
- clips/droid/shard-00004.tar +3 -0
- clips/droid/shard-00006.tar +3 -0
- clips/droid/shard-00007.tar +3 -0
- clips/droid/shard-00008.tar +3 -0
- clips/droid/shard-00010.tar +3 -0
- clips/droid/shard-00012.tar +3 -0
- clips/droid/shard-00013.tar +3 -0
- clips/droid/shard-00014.tar +3 -0
- clips/interndata/shard-00000.tar +3 -0
- clips/rh20t_cfg5/shard-00000.tar +3 -0
- clips/rh20t_cfg5/shard-00001.tar +3 -0
- clips/rh20t_cfg5/shard-00002.tar +3 -0
- clips/rh20t_cfg5/shard-00003.tar +3 -0
- clips/rh20t_cfg5/shard-00004.tar +3 -0
- clips/rh20t_cfg5/shard-00005.tar +3 -0
- clips/rh20t_cfg5/shard-00006.tar +3 -0
- clips/rh20t_cfg7/shard-00000.tar +3 -0
- clips/rh20t_cfg7/shard-00001.tar +3 -0
- clips/rh20t_cfg7/shard-00002.tar +3 -0
- manifests/agibot/train_index.jsonl +3 -0
- manifests/droid/train_index.jsonl +0 -0
- manifests/interndata/train_index.jsonl +0 -0
- manifests/rh20t_cfg5/train_index.jsonl +0 -0
- manifests/rh20t_cfg7/train_index.jsonl +0 -0
- manifests/shards.json +227 -0
- prepare.py +85 -0
- text_cache/reason1_proj1024_T81/emb.f16.npy.sha256 +1 -0
- text_cache/reason1_proj1024_T81/index.json +0 -0
.gitattributes
CHANGED
|
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
manifests/agibot/train_index.jsonl filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
pretty_name: merlin DMD training data
|
| 4 |
+
task_categories: ["robotics", "other"]
|
| 5 |
+
tags: ["robotics", "world-model", "video-generation", "causal-forcing", "oscar"]
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
# merlin DMD training data
|
| 9 |
+
|
| 10 |
+
The data used by the DMD stage (`release/stage_configs/3_dmd_merlin.yaml`, branch `release/merlin-causal-forcing`) that
|
| 11 |
+
produced **merlin**, OSCAR-2B distilled into a 4-step causal robot-video model with Causal Forcing++. The same five
|
| 12 |
+
manifests and text-embedding store were used by every training stage of merlin.
|
| 13 |
+
|
| 14 |
+
## Contents
|
| 15 |
+
|
| 16 |
+
| path | what |
|
| 17 |
+
|---|---|
|
| 18 |
+
| `clips/<dataset>/shard-XXXXX.tar` | ~10 GB uncompressed tars; members are `<episode>/<cam>/{rgb.mp4, gripper_scenario.mp4, caption.pickle}` |
|
| 19 |
+
| `manifests/<dataset>/train_index.jsonl` | the training manifests, unchanged except `data_root` is `clips/<dataset>` (relative) |
|
| 20 |
+
| `manifests/shards.json` | which shard holds which dataset, with file counts |
|
| 21 |
+
| `text_cache/reason1_proj1024_T81/` | caption embeddings: `index.json` (sha1 of stripped caption → row), `meta.json`, and `emb.f16.npy` ([104779, 512, 1024] float16) as zstd parts `emb.f16.npy.zst.part-NN` with its sha256 in `emb.f16.npy.sha256` |
|
| 22 |
+
| `prepare.py` | restores the tree, the embedding file, and manifests with absolute paths |
|
| 23 |
+
|
| 24 |
+
Per clip: `rgb.mp4` is the target video (640×360; DMD uses its first frame as the condition),
|
| 25 |
+
`gripper_scenario.mp4` the control video (arm skeleton and gripper drawn on black, same length and resolution) and
|
| 26 |
+
`caption.pickle` a dict `{"caption": str}`. The loader stretches both videos to 640×384 and uses 81-frame windows;
|
| 27 |
+
rows with `n_frames < 81` are in the manifests but skipped by the loader.
|
| 28 |
+
|
| 29 |
+
| dataset | manifest rows | rows with ≥ 81 frames |
|
| 30 |
+
|---|---:|---:|
|
| 31 |
+
| agibot | 83,481 | 62,120 |
|
| 32 |
+
| droid | 36,356 | 35,877 |
|
| 33 |
+
| rh20t_cfg5 | 4,447 | 4,438 |
|
| 34 |
+
| rh20t_cfg7 | 1,328 | 1,328 |
|
| 35 |
+
| interndata | 1,006 | 1,006 |
|
| 36 |
+
|
| 37 |
+
Note: these files are **not** identical to the public [zywu2115/OSCAR_robot](https://huggingface.co/datasets/zywu2115/OSCAR_robot)
|
| 38 |
+
release. Captions match, but control videos differ in resolution/rendering for some subsets (e.g. DROID), and
|
| 39 |
+
OSCAR_robot ships no `rgb.mp4`.
|
| 40 |
+
|
| 41 |
+
## Usage
|
| 42 |
+
|
| 43 |
+
```bash
|
| 44 |
+
hf download csusupergear/merlin-dmd-data --repo-type dataset --local-dir merlin_dmd_data
|
| 45 |
+
python merlin_dmd_data/prepare.py --repo_dir merlin_dmd_data # needs zstd on PATH; prints the config overrides
|
| 46 |
+
```
|
| 47 |
+
|
| 48 |
+
Then set `data_index_files` and `text_cache_dir` in `3_dmd_merlin.yaml` to the printed values.
|
| 49 |
+
|
| 50 |
+
## Licenses
|
| 51 |
+
|
| 52 |
+
Each subset keeps its upstream license; use is **non-commercial** for all but DROID.
|
| 53 |
+
|
| 54 |
+
| subset | upstream | license |
|
| 55 |
+
|---|---|---|
|
| 56 |
+
| agibot | [AgiBot World](https://huggingface.co/datasets/agibot-world/AgiBotWorld-Beta) | CC-BY-NC-SA-4.0 |
|
| 57 |
+
| droid | [DROID](https://droid-dataset.github.io/) | CC-BY-4.0 |
|
| 58 |
+
| rh20t_cfg5, rh20t_cfg7 | [RH20T](https://rh20t.github.io/) | CC-BY-NC-4.0 |
|
| 59 |
+
| interndata | [InternData-A1](https://huggingface.co/datasets/InternRobotics/InternData-A1) | CC-BY-NC-SA-4.0 |
|
| 60 |
+
|
| 61 |
+
Control videos and captions are derived from the OSCAR pipeline
|
| 62 |
+
([wuzy2115/oscar-public](https://github.com/wuzy2115/oscar-public), [OSCAR_robot](https://huggingface.co/datasets/zywu2115/OSCAR_robot));
|
| 63 |
+
caption embeddings are from Cosmos-Reason1-7B projected by OSCAR-2B's `crossattn_proj`. Please cite the upstream
|
| 64 |
+
datasets, OSCAR, and Causal Forcing / Causal Forcing++ ([arXiv:2602.02214](https://arxiv.org/abs/2602.02214),
|
| 65 |
+
[arXiv:2605.15141](https://arxiv.org/abs/2605.15141)).
|
clips/agibot/shard-00000.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f96020c69c7f9813cdaab70b899b0d181391ae43465ba1a39837568b23b8dd21
|
| 3 |
+
size 10921441280
|
clips/agibot/shard-00001.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:334024b2a866603cbba7d44739ff8a043b85630c67eaf850a899d9cca87b4321
|
| 3 |
+
size 7266334720
|
clips/agibot/shard-00002.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3730fccbc35d2f11b0122457ee8b1ca74049fdfcdb06414ae75d1ec591b32b3d
|
| 3 |
+
size 8365342720
|
clips/agibot/shard-00003.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9b891f25f2b0e532bd458a9dba1639a7f7f4ec81cfe44d17bd0c8f3145ed0bab
|
| 3 |
+
size 6570219520
|
clips/agibot/shard-00004.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:af340a871c4044f9133c9a66e21f3484ce65e5fd466c968339aabeba560ba513
|
| 3 |
+
size 8626821120
|
clips/agibot/shard-00005.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5c9f0a7a78299d3ae45574e75e2d11d6d150c343223015226c567e22f087c868
|
| 3 |
+
size 9154201600
|
clips/agibot/shard-00006.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7ff318a450f4f239dcc8ec93816a2b45f71f0652061fa28ac90b0217332d1a71
|
| 3 |
+
size 8129003520
|
clips/agibot/shard-00007.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dce46324ff89a1c79c9c72724776ff5e786a5fadc445420b9878090398c09bd4
|
| 3 |
+
size 8931205120
|
clips/agibot/shard-00008.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3151c76db83448950b9817c36adab207c3650973714e827f981b84879f300e62
|
| 3 |
+
size 8534650880
|
clips/agibot/shard-00009.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0eeddc40ce20252d964b716c8fbe5a7f72f5169e0d4bd3654f3defa89cda0203
|
| 3 |
+
size 8688578560
|
clips/agibot/shard-00010.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:651c072819b9aee57b640a1f03616e5658b4449d8e8172ca5f816895dd57cc92
|
| 3 |
+
size 7056670720
|
clips/agibot/shard-00011.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c3bd08f4931fa580c30bb9da1cbbf0f6ea218a0a6ec1b6d8e58934674c591310
|
| 3 |
+
size 6928076800
|
clips/agibot/shard-00012.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:534eaec9e63babec439c6e94187fefc52579c83736642b28437d4dd984f8b7d0
|
| 3 |
+
size 7093544960
|
clips/agibot/shard-00013.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:70fd4b31c889b28b257419f1995e506f59ee707941068f513a3214ff71bf63b3
|
| 3 |
+
size 6278850560
|
clips/agibot/shard-00014.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:71487ccf53d9e527bfe25ee9dd1e84dceb411f79e33d95739c1b31590c7912b5
|
| 3 |
+
size 5647831040
|
clips/agibot/shard-00015.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:487ede1c1c45705bf08e27e92b3126f3aebece848edfe172010ed2d5701f3af4
|
| 3 |
+
size 7171205120
|
clips/agibot/shard-00016.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc8862451db319400c9a8855ce1ec33550d79c9a230bf94f838712ef81e54bc5
|
| 3 |
+
size 4310200320
|
clips/droid/shard-00000.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:af60eff15e58533a12aacacacedaf61afce120aca38101252a92e12a6c434761
|
| 3 |
+
size 10307461120
|
clips/droid/shard-00002.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:333476d6a659a4fbf0806021e1e769730bc9f72ea5bed086aff7820e360b9d78
|
| 3 |
+
size 7645982720
|
clips/droid/shard-00003.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9584dfd1ee106f2efa53732ebee5363253d03750e28e4569a6956351a893d6f6
|
| 3 |
+
size 10247342080
|
clips/droid/shard-00004.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:14e3018f2388969eafbebb21260c93ae284f4fa1e6d276e9361198e84538e723
|
| 3 |
+
size 10466631680
|
clips/droid/shard-00006.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b97e61edf2a771a828563f2907991254e556a7e5bf3be87e79e627e5bd8c6af2
|
| 3 |
+
size 7636367360
|
clips/droid/shard-00007.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:32445e2fa88b980a95d4767e8e7b0add6bbf4358dbb7efe01f7c280451352d63
|
| 3 |
+
size 8689520640
|
clips/droid/shard-00008.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:660e161ba2783ce1fbc09f22f12ce296ad88de31a4a6c6dd902f118a5fb0fc80
|
| 3 |
+
size 7696660480
|
clips/droid/shard-00010.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:936ad07f576a9e658510586eb374a2f3689cd081e5f11e40ec2a167b258f11f8
|
| 3 |
+
size 8103895040
|
clips/droid/shard-00012.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ef7d6106406bac933e47c08d86be69fe1b60ac6512db1eadaea4683f32e4b29d
|
| 3 |
+
size 9749043200
|
clips/droid/shard-00013.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f9bd4c91342474ddfbf9d89aaac8a17f8a7c42e9fc0be2d8edf3066f935a7712
|
| 3 |
+
size 7621795840
|
clips/droid/shard-00014.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3184cb1a32d24b490c1675a9b151554c5fdc20b3e868fb49dbee6af792d43118
|
| 3 |
+
size 9650595840
|
clips/interndata/shard-00000.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ba24073577f0a29135a912bf47479dc9dcccfb49fdd68731a016422d4e379989
|
| 3 |
+
size 482734080
|
clips/rh20t_cfg5/shard-00000.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:30eda6dc8dc5a9b843558e264ffa52274205b797ca1bc30d036389d7a7117cc2
|
| 3 |
+
size 10268528640
|
clips/rh20t_cfg5/shard-00001.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2d78650c3b4a04f5fb9b2572e7373e32c7c2e001ac5b40542757a3088ef01eee
|
| 3 |
+
size 11122585600
|
clips/rh20t_cfg5/shard-00002.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be0bee1529a3f8dd8871fb7bf1443390dd3dc85f0ddf765e6cdc08c6190ef17a
|
| 3 |
+
size 14390558720
|
clips/rh20t_cfg5/shard-00003.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cff2044d751129d3973bc4712a378d717eb1b4ceabc39800cec8a40119953ce7
|
| 3 |
+
size 10873098240
|
clips/rh20t_cfg5/shard-00004.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4c6d0c05143c5a7ca275a318f2e9635a412de24de92365671fbf17e57acdc19e
|
| 3 |
+
size 8977070080
|
clips/rh20t_cfg5/shard-00005.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:429c7ede99cb65660b56c4c924e3b188d7ab8c993a91c5f472d506073607be7c
|
| 3 |
+
size 8868034560
|
clips/rh20t_cfg5/shard-00006.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc2257b52beabe8c137010c98c03aa180b534ff9b82e1c9734673f1d0bca3a71
|
| 3 |
+
size 7823462400
|
clips/rh20t_cfg7/shard-00000.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c8c2eb4ecebbc306642422b67b435682e78da00d3865378716b4bb02e961672d
|
| 3 |
+
size 9059983360
|
clips/rh20t_cfg7/shard-00001.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b27777a924c2f59313fd6cf5d92c7e76bcdf188e8ba1fe92fb160be55ccd6ebd
|
| 3 |
+
size 10849013760
|
clips/rh20t_cfg7/shard-00002.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e3abcd7b2496ff4e74e6c749a3f5dfa7a55a19ef809a9177000db6761bf78450
|
| 3 |
+
size 3252418560
|
manifests/agibot/train_index.jsonl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:025f845631207c68283854c439f79b01723128e21eb06fc2a9d8877ee3bda70d
|
| 3 |
+
size 13331507
|
manifests/droid/train_index.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
manifests/interndata/train_index.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
manifests/rh20t_cfg5/train_index.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
manifests/rh20t_cfg7/train_index.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
manifests/shards.json
ADDED
|
@@ -0,0 +1,227 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"agibot": [
|
| 3 |
+
{
|
| 4 |
+
"file": "clips/agibot/shard-00000.tar",
|
| 5 |
+
"n_files": 15000,
|
| 6 |
+
"bytes": 10921441280
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
"file": "clips/agibot/shard-00001.tar",
|
| 10 |
+
"n_files": 15000,
|
| 11 |
+
"bytes": 7266334720
|
| 12 |
+
},
|
| 13 |
+
{
|
| 14 |
+
"file": "clips/agibot/shard-00002.tar",
|
| 15 |
+
"n_files": 15000,
|
| 16 |
+
"bytes": 8365342720
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"file": "clips/agibot/shard-00003.tar",
|
| 20 |
+
"n_files": 15000,
|
| 21 |
+
"bytes": 6570219520
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"file": "clips/agibot/shard-00004.tar",
|
| 25 |
+
"n_files": 15000,
|
| 26 |
+
"bytes": 8626821120
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"file": "clips/agibot/shard-00005.tar",
|
| 30 |
+
"n_files": 15000,
|
| 31 |
+
"bytes": 9154201600
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"file": "clips/agibot/shard-00006.tar",
|
| 35 |
+
"n_files": 15000,
|
| 36 |
+
"bytes": 8129003520
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"file": "clips/agibot/shard-00007.tar",
|
| 40 |
+
"n_files": 15000,
|
| 41 |
+
"bytes": 8931205120
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"file": "clips/agibot/shard-00008.tar",
|
| 45 |
+
"n_files": 15000,
|
| 46 |
+
"bytes": 8534650880
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"file": "clips/agibot/shard-00009.tar",
|
| 50 |
+
"n_files": 15000,
|
| 51 |
+
"bytes": 8688578560
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"file": "clips/agibot/shard-00010.tar",
|
| 55 |
+
"n_files": 15000,
|
| 56 |
+
"bytes": 7056670720
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"file": "clips/agibot/shard-00011.tar",
|
| 60 |
+
"n_files": 15000,
|
| 61 |
+
"bytes": 6928076800
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"file": "clips/agibot/shard-00012.tar",
|
| 65 |
+
"n_files": 15000,
|
| 66 |
+
"bytes": 7093544960
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"file": "clips/agibot/shard-00013.tar",
|
| 70 |
+
"n_files": 15000,
|
| 71 |
+
"bytes": 6278850560
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"file": "clips/agibot/shard-00014.tar",
|
| 75 |
+
"n_files": 15000,
|
| 76 |
+
"bytes": 5647831040
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"file": "clips/agibot/shard-00015.tar",
|
| 80 |
+
"n_files": 15000,
|
| 81 |
+
"bytes": 7171205120
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"file": "clips/agibot/shard-00016.tar",
|
| 85 |
+
"n_files": 10443,
|
| 86 |
+
"bytes": 4310200320
|
| 87 |
+
}
|
| 88 |
+
],
|
| 89 |
+
"droid": [
|
| 90 |
+
{
|
| 91 |
+
"file": "clips/droid/shard-00000.tar",
|
| 92 |
+
"n_files": 7500,
|
| 93 |
+
"bytes": 10307461120
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"file": "clips/droid/shard-00001.tar",
|
| 97 |
+
"n_files": 7500,
|
| 98 |
+
"bytes": 18084331520
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"file": "clips/droid/shard-00002.tar",
|
| 102 |
+
"n_files": 7500,
|
| 103 |
+
"bytes": 7645982720
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"file": "clips/droid/shard-00003.tar",
|
| 107 |
+
"n_files": 7500,
|
| 108 |
+
"bytes": 10247342080
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"file": "clips/droid/shard-00004.tar",
|
| 112 |
+
"n_files": 7500,
|
| 113 |
+
"bytes": 10466631680
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"file": "clips/droid/shard-00005.tar",
|
| 117 |
+
"n_files": 7500,
|
| 118 |
+
"bytes": 13621504000
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"file": "clips/droid/shard-00006.tar",
|
| 122 |
+
"n_files": 7500,
|
| 123 |
+
"bytes": 7636367360
|
| 124 |
+
},
|
| 125 |
+
{
|
| 126 |
+
"file": "clips/droid/shard-00007.tar",
|
| 127 |
+
"n_files": 7500,
|
| 128 |
+
"bytes": 8689520640
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"file": "clips/droid/shard-00008.tar",
|
| 132 |
+
"n_files": 7500,
|
| 133 |
+
"bytes": 7696660480
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"file": "clips/droid/shard-00009.tar",
|
| 137 |
+
"n_files": 7500,
|
| 138 |
+
"bytes": 10892574720
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"file": "clips/droid/shard-00010.tar",
|
| 142 |
+
"n_files": 7500,
|
| 143 |
+
"bytes": 8103895040
|
| 144 |
+
},
|
| 145 |
+
{
|
| 146 |
+
"file": "clips/droid/shard-00011.tar",
|
| 147 |
+
"n_files": 7500,
|
| 148 |
+
"bytes": 12229775360
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"file": "clips/droid/shard-00012.tar",
|
| 152 |
+
"n_files": 7500,
|
| 153 |
+
"bytes": 9749043200
|
| 154 |
+
},
|
| 155 |
+
{
|
| 156 |
+
"file": "clips/droid/shard-00013.tar",
|
| 157 |
+
"n_files": 7500,
|
| 158 |
+
"bytes": 7621795840
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"file": "clips/droid/shard-00014.tar",
|
| 162 |
+
"n_files": 4068,
|
| 163 |
+
"bytes": 9650595840
|
| 164 |
+
}
|
| 165 |
+
],
|
| 166 |
+
"interndata": [
|
| 167 |
+
{
|
| 168 |
+
"file": "clips/interndata/shard-00000.tar",
|
| 169 |
+
"n_files": 3018,
|
| 170 |
+
"bytes": 482734080
|
| 171 |
+
}
|
| 172 |
+
],
|
| 173 |
+
"rh20t_cfg5": [
|
| 174 |
+
{
|
| 175 |
+
"file": "clips/rh20t_cfg5/shard-00000.tar",
|
| 176 |
+
"n_files": 2100,
|
| 177 |
+
"bytes": 10268528640
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"file": "clips/rh20t_cfg5/shard-00001.tar",
|
| 181 |
+
"n_files": 2100,
|
| 182 |
+
"bytes": 11122585600
|
| 183 |
+
},
|
| 184 |
+
{
|
| 185 |
+
"file": "clips/rh20t_cfg5/shard-00002.tar",
|
| 186 |
+
"n_files": 2100,
|
| 187 |
+
"bytes": 14390558720
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"file": "clips/rh20t_cfg5/shard-00003.tar",
|
| 191 |
+
"n_files": 2100,
|
| 192 |
+
"bytes": 10873098240
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"file": "clips/rh20t_cfg5/shard-00004.tar",
|
| 196 |
+
"n_files": 2100,
|
| 197 |
+
"bytes": 8977070080
|
| 198 |
+
},
|
| 199 |
+
{
|
| 200 |
+
"file": "clips/rh20t_cfg5/shard-00005.tar",
|
| 201 |
+
"n_files": 2100,
|
| 202 |
+
"bytes": 8868034560
|
| 203 |
+
},
|
| 204 |
+
{
|
| 205 |
+
"file": "clips/rh20t_cfg5/shard-00006.tar",
|
| 206 |
+
"n_files": 741,
|
| 207 |
+
"bytes": 7823462400
|
| 208 |
+
}
|
| 209 |
+
],
|
| 210 |
+
"rh20t_cfg7": [
|
| 211 |
+
{
|
| 212 |
+
"file": "clips/rh20t_cfg7/shard-00000.tar",
|
| 213 |
+
"n_files": 1800,
|
| 214 |
+
"bytes": 9059983360
|
| 215 |
+
},
|
| 216 |
+
{
|
| 217 |
+
"file": "clips/rh20t_cfg7/shard-00001.tar",
|
| 218 |
+
"n_files": 1800,
|
| 219 |
+
"bytes": 10849013760
|
| 220 |
+
},
|
| 221 |
+
{
|
| 222 |
+
"file": "clips/rh20t_cfg7/shard-00002.tar",
|
| 223 |
+
"n_files": 384,
|
| 224 |
+
"bytes": 3252418560
|
| 225 |
+
}
|
| 226 |
+
]
|
| 227 |
+
}
|
prepare.py
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Restore the merlin DMD training data from a download of csusupergear/merlin-dmd-data.
|
| 2 |
+
|
| 3 |
+
python prepare.py --repo_dir <download dir> [--out <dir>] # --out defaults to --repo_dir
|
| 4 |
+
|
| 5 |
+
1. extracts clips/<dataset>/shard-*.tar into <out>/clips/<dataset>/<episode>/<cam>/{rgb.mp4,gripper_scenario.mp4,caption.pickle}
|
| 6 |
+
2. reassembles text_cache/reason1_proj1024_T81/emb.f16.npy from its zstd parts and checks its sha256
|
| 7 |
+
3. writes <out>/manifests_abs/<dataset>/train_index.jsonl with absolute data_root, and prints the config overrides
|
| 8 |
+
"""
|
| 9 |
+
import argparse, hashlib, json, os, subprocess, tarfile
|
| 10 |
+
|
| 11 |
+
STORE = "text_cache/reason1_proj1024_T81"
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
def sha256(path, bufsize=1 << 24):
|
| 15 |
+
h = hashlib.sha256()
|
| 16 |
+
with open(path, "rb") as f:
|
| 17 |
+
while chunk := f.read(bufsize):
|
| 18 |
+
h.update(chunk)
|
| 19 |
+
return h.hexdigest()
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
def main():
|
| 23 |
+
ap = argparse.ArgumentParser()
|
| 24 |
+
ap.add_argument("--repo_dir", required=True)
|
| 25 |
+
ap.add_argument("--out", default=None)
|
| 26 |
+
ap.add_argument("--skip_text", action="store_true")
|
| 27 |
+
a = ap.parse_args()
|
| 28 |
+
repo = os.path.abspath(a.repo_dir)
|
| 29 |
+
out = os.path.abspath(a.out or repo)
|
| 30 |
+
|
| 31 |
+
shards = json.load(open(os.path.join(repo, "manifests", "shards.json")))
|
| 32 |
+
for ds, items in shards.items():
|
| 33 |
+
dst = os.path.join(out, "clips", ds)
|
| 34 |
+
os.makedirs(dst, exist_ok=True)
|
| 35 |
+
for it in items:
|
| 36 |
+
done = os.path.join(dst, ".extracted_" + os.path.basename(it["file"]))
|
| 37 |
+
if os.path.exists(done):
|
| 38 |
+
continue
|
| 39 |
+
with tarfile.open(os.path.join(repo, it["file"])) as tf:
|
| 40 |
+
tf.extractall(dst, filter="data")
|
| 41 |
+
open(done, "w").close()
|
| 42 |
+
print("extracted", it["file"], flush=True)
|
| 43 |
+
|
| 44 |
+
if not a.skip_text:
|
| 45 |
+
src = os.path.join(repo, STORE)
|
| 46 |
+
dst = os.path.join(out, STORE)
|
| 47 |
+
os.makedirs(dst, exist_ok=True)
|
| 48 |
+
for f in ("index.json", "meta.json"):
|
| 49 |
+
if os.path.abspath(os.path.join(src, f)) != os.path.abspath(os.path.join(dst, f)):
|
| 50 |
+
subprocess.run(["cp", os.path.join(src, f), dst], check=True)
|
| 51 |
+
emb = os.path.join(dst, "emb.f16.npy")
|
| 52 |
+
want = open(os.path.join(src, "emb.f16.npy.sha256")).read().split()[0]
|
| 53 |
+
if not (os.path.exists(emb) and sha256(emb) == want):
|
| 54 |
+
parts = sorted(p for p in os.listdir(src) if p.startswith("emb.f16.npy.zst.part-"))
|
| 55 |
+
print(f"reassembling emb.f16.npy from {len(parts)} parts", flush=True)
|
| 56 |
+
cat = subprocess.Popen(["cat"] + [os.path.join(src, p) for p in parts], stdout=subprocess.PIPE)
|
| 57 |
+
with open(emb, "wb") as fo:
|
| 58 |
+
subprocess.run(["zstd", "-d", "--long=27", "-c"], stdin=cat.stdout, stdout=fo, check=True)
|
| 59 |
+
cat.wait()
|
| 60 |
+
got = sha256(emb)
|
| 61 |
+
if got != want:
|
| 62 |
+
raise SystemExit(f"emb.f16.npy sha256 mismatch: {got} != {want}")
|
| 63 |
+
print("emb.f16.npy OK", flush=True)
|
| 64 |
+
|
| 65 |
+
files = []
|
| 66 |
+
for ds in shards:
|
| 67 |
+
p = os.path.join(out, "manifests_abs", ds, "train_index.jsonl")
|
| 68 |
+
os.makedirs(os.path.dirname(p), exist_ok=True)
|
| 69 |
+
with open(os.path.join(repo, "manifests", ds, "train_index.jsonl")) as fi, open(p, "w") as fo:
|
| 70 |
+
for line in fi:
|
| 71 |
+
if line.strip():
|
| 72 |
+
r = json.loads(line)
|
| 73 |
+
r["data_root"] = os.path.join(out, "clips", ds)
|
| 74 |
+
fo.write(json.dumps(r) + "\n")
|
| 75 |
+
files.append(p)
|
| 76 |
+
|
| 77 |
+
print("\nSet in release/local/stage_configs/3_dmd_merlin.yaml:")
|
| 78 |
+
print(f"text_cache_dir: {os.path.join(out, STORE)}")
|
| 79 |
+
print("data_index_files:")
|
| 80 |
+
for p in files:
|
| 81 |
+
print(f"- {p}")
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
if __name__ == "__main__":
|
| 85 |
+
main()
|
text_cache/reason1_proj1024_T81/emb.f16.npy.sha256
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
4c1331ff58bdba47b30f8cbd7a1d508c0b78d304948a3b0bf840e245c187ac2c emb.f16.npy
|
text_cache/reason1_proj1024_T81/index.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|