Datasets:
File size: 656 Bytes
e6361b4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | # Loading MANUS-DexYCB Examples
## With WebDataset
```python
import json
import webdataset as wds
dataset = wds.WebDataset("data/dexycb/test/dexycb-test-{000000..000007}.tar")
for sample in dataset:
meta_key = next(k for k in sample if k.endswith(".json"))
meta = json.loads(sample[meta_key].decode("utf-8"))
print(meta["manus_sample_id"], meta["available_files"])
break
```
## After Hugging Face Upload
```python
from datasets import load_dataset
ds = load_dataset("QFun/MANUS-DexYCB", "dexycb", split="test", streaming=True)
first = next(iter(ds))
print(first.keys())
```
Official Hugging Face repository id: `QFun/MANUS-DexYCB`.
|