File size: 1,420 Bytes
1128782
 
2f25d5a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
30
31
# motion_example_0506: indexed tar archive

Uncompressed tar shards preserving source-relative paths, including all modalities.
Original regular files: 1,498,378. Archive shards: 71.

Wait for `REMOTE_VERIFIED.json` before treating this upload as complete.
No dataset license is inferred or granted by this packaging operation.

## Read a member without extracting the dataset

Download the index and required tar shards, plus `pack_motion_example.py`:

```python
from pack_motion_example import PackedMotionReader
reader = PackedMotionReader('/path/to/dataset_tar')
payload = reader.read_bytes('metadata.jsonl')  # use an existing indexed path
reader.close()
```

`reader.open(path)` buffers one member and supports file-object readers such as `numpy.load` / `torch.load`. Existing filename-only video decoders need an adapter.

## Restore files

Keep the tar files, `archive_index.sqlite`, `archive_index.tsv`, `SHA256SUMS`, `packing_summary.json`, and both Python scripts in one folder:

```bash
python unpack_motion_example.py --archive-dir /path/to/dataset_tar --output-dir /path/to/new_restored_directory --workers 8
```

Restoration verifies SHA256 and refuses mismatching existing files. External symlink targets are not copied; external links require explicit opt-in. Hardlinks were materialized as independent files. Ownership is not restored; special permission bits are removed and owner access is retained.