wentao023 commited on
Commit
f0fafe4
·
verified ·
1 Parent(s): f22619e

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +48 -0
README.md ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ task_categories:
4
+ - other
5
+ tags:
6
+ - motion-forecasting
7
+ - autonomous-driving
8
+ - waymo
9
+ - motionlm
10
+ - trajectory-prediction
11
+ pretty_name: MotionLM Processed WOMD Shards
12
+ size_categories:
13
+ - 1K<n<10K
14
+ ---
15
+
16
+ # MotionLM Processed WOMD Dataset
17
+
18
+ A processed, lightweight version of the [Waymo Open Motion Dataset (WOMD)](https://waymo.com/open/data/motion/), prepared for training a [MotionLM](https://github.com/Mol2017/MotionLM) model.
19
+
20
+ The original WOMD scenarios have been transformed into compact PyTorch tensor shards (`.pt.zst`, zstd-compressed) so they can be streamed directly into the training loop without the overhead of decoding protobuf scenarios on the fly.
21
+
22
+ ## Splits
23
+
24
+ | Split | Shards | Size |
25
+ | ------------ | ------ | ----- |
26
+ | `training` | 1000 | ~114 GB |
27
+ | `validation` | 150 | ~10 GB |
28
+ | `test` | 150 | ~11 GB |
29
+
30
+ File naming follows `{split}.{i}of{n}.pt.zst`.
31
+
32
+ ## Usage
33
+
34
+ Used to train the MotionLM implementation at https://github.com/Mol2017/MotionLM. See that repository for the data loader, model code, and training scripts.
35
+
36
+ ```python
37
+ import torch
38
+ import zstandard as zstd
39
+ import io
40
+
41
+ with open("training/train.0of1000.pt.zst", "rb") as f:
42
+ decompressed = zstd.ZstdDecompressor().decompress(f.read())
43
+ batch = torch.load(io.BytesIO(decompressed))
44
+ ```
45
+
46
+ ## Source
47
+
48
+ Derived from the Waymo Open Motion Dataset. Please consult the [Waymo Open Dataset license](https://waymo.com/open/terms/) for terms governing use of the underlying data.