saeedrmd commited on
Commit
9d87ab9
·
verified ·
1 Parent(s): 073e4e7

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
README.md ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ task_categories:
4
+ - trajectory-prediction
5
+ - autonomous-driving
6
+ tags:
7
+ - trajectory-prediction
8
+ - autonomous-driving
9
+ - argoverse2
10
+ - nuscenes
11
+ - discobench
12
+ size_categories:
13
+ - n<1K
14
+ ---
15
+
16
+ # Waymo Trajectory Prediction
17
+
18
+ ## Dataset Description
19
+
20
+ This dataset contains preprocessed trajectory prediction samples for autonomous driving research,
21
+ formatted for use with DiscoBench's TrajectoryPrediction task.
22
+
23
+ - **Original Dataset**: Waymo Open Dataset
24
+ - **Number of Samples**: 850
25
+ - **Format**: Pickle files with numpy arrays
26
+ - **Task**: Multi-modal trajectory prediction
27
+
28
+ ## Dataset Structure
29
+
30
+ Each sample is a pickle file containing:
31
+
32
+ - **obj_trajs** `(32, 21, 2)`: Past trajectories of surrounding agents (2.1s @ 10Hz)
33
+ - **obj_trajs_mask** `(32, 21)`: Validity mask for past trajectories
34
+ - **map_polylines** `(128, 20, 2)`: Map polylines (lanes, boundaries)
35
+ - **map_polylines_mask** `(128, 20)`: Validity mask for map polylines
36
+ - **center_gt_trajs** `(60, 2)`: Ground truth future trajectory (6s @ 10Hz)
37
+ - **center_gt_trajs_mask** `(60,)`: Validity mask for future trajectory
38
+ - **center_gt_final_valid_idx**: Last valid timestep index
39
+ - **track_index_to_predict**: Index of the track to predict
40
+
41
+ ## Usage
42
+
43
+ ### Download Dataset
44
+
45
+ ```python
46
+ from huggingface_hub import hf_hub_download
47
+ import pickle
48
+
49
+ # Download a single sample
50
+ file_path = hf_hub_download(
51
+ repo_id="saeedrmd/trajectory-prediction-waymo",
52
+ filename="sample_0000.pkl",
53
+ repo_type="dataset"
54
+ )
55
+
56
+ # Load the sample
57
+ with open(file_path, 'rb') as f:
58
+ data = pickle.load(f)
59
+
60
+ print("Agent trajectories:", data['obj_trajs'].shape)
61
+ print("Ground truth:", data['center_gt_trajs'].shape)
62
+ ```
63
+
64
+ ### Download All Samples
65
+
66
+ ```python
67
+ from huggingface_hub import snapshot_download
68
+
69
+ # Download entire dataset
70
+ dataset_path = snapshot_download(
71
+ repo_id="saeedrmd/trajectory-prediction-waymo",
72
+ repo_type="dataset"
73
+ )
74
+
75
+ print(f"Dataset downloaded to: {dataset_path}")
76
+ ```
77
+
78
+ ### Use with DiscoBench
79
+
80
+ 1. Download the dataset using the code above
81
+ 2. Place the samples in your DiscoBench cache directory:
82
+ ```bash
83
+ cp {dataset_path}/*.pkl /path/to/DiscoBench/cache/Waymo Trajectory Prediction/
84
+ ```
85
+ 3. Update your task configuration to point to this cache directory
86
+
87
+ ## Dataset Statistics
88
+
89
+ - Number of samples: 850
90
+ - Average valid agents per sample: ~21
91
+ - Average valid polylines per sample: ~128
92
+ - Average valid future timesteps: ~60
93
+
94
+
95
+ ## Coordinate System
96
+
97
+ All trajectories and map features are in the focal agent's coordinate frame:
98
+ - **Origin**: Focal agent's position at current timestep
99
+ - **Orientation**: Aligned with focal agent's heading
100
+ - **Units**: Meters
101
+
102
+ ## Citation
103
+
104
+ If you use this dataset, please cite:
105
+
106
+ ```bibtex
107
+ @dataset{trajectory_prediction_discobench,
108
+ title={Waymo Trajectory Prediction},
109
+ author={DiscoBench Team},
110
+ year={2025},
111
+ publisher={Hugging Face},
112
+ howpublished={\url{https://huggingface.co/datasets/saeedrmd/trajectory-prediction-waymo}}
113
+ }
114
+ ```
115
+
116
+ ## License
117
+
118
+ Apache 2.0
119
+
120
+ ## Original Dataset Citations
121
+
122
+
metadata.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "num_samples": 850,
3
+ "format": "pickle",
4
+ "sample_shape": {
5
+ "obj_trajs": [
6
+ 32,
7
+ 21,
8
+ 2
9
+ ],
10
+ "obj_trajs_mask": [
11
+ 32,
12
+ 21
13
+ ],
14
+ "map_polylines": [
15
+ 128,
16
+ 20,
17
+ 2
18
+ ],
19
+ "map_polylines_mask": [
20
+ 128,
21
+ 20
22
+ ],
23
+ "center_gt_trajs": [
24
+ 60,
25
+ 2
26
+ ],
27
+ "center_gt_trajs_mask": [
28
+ 60
29
+ ],
30
+ "center_gt_final_valid_idx": [],
31
+ "track_index_to_predict": []
32
+ },
33
+ "sample_stats": {
34
+ "valid_agents": 21,
35
+ "valid_polylines": 128,
36
+ "valid_future_steps": 60
37
+ }
38
+ }
sample_000000.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dedb5930545f272269c286fbe3fe99228ecab3233f67269f01c210adda8a1839
3
+ size 40078
sample_000001.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d343a46f178274c1b61eb7b81e7f5d6a84f4ded071f2b323bd42ad9b2cd2f814
3
+ size 40078
sample_000002.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d943e49911e26665422f616b324ce571b38edd3e0e5ecda1460a8541eda20ad
3
+ size 40078
sample_000003.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a7ae0e5d18d3c5a0383389fcf4b3567c7b9aeccce104288f68120a82dbeaaf03
3
+ size 40078
sample_000004.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:816b4fa6fa96679918d497d53502a9bb136d065227e89495f72af5f56944f954
3
+ size 40078
sample_000005.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6eda5949c823a14e619687cc031eae73b72195686e562fd0aa1f85e57c064125
3
+ size 40078
sample_000006.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99c886c706950aaeb642e78ec6d0b930a731630bf47779f3e50c89a9e218b384
3
+ size 40078
sample_000007.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c903cffad58c70891706ac2241791df3e9f14c329cfbe6d7e1b8df1e1eb37aee
3
+ size 40078
sample_000008.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13c75bf3b887f5bb2c96c1e6d421ee381d9650776e2b2ec9413e1d63c699bdd3
3
+ size 40078
sample_000009.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f36eae9710617bcbb6f238447b43e598db9c83d2e5127feab9260e09f699ecdc
3
+ size 40078
sample_000010.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90eb778ad2f90ba0b76e6eda7ba71f944877192a6e38d655a2e3e69251e7d315
3
+ size 40078
sample_000011.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f6074c9b1aad70c514b90e365d427afc4c9a695ba3112053981df7f6ce6e71f
3
+ size 40078
sample_000012.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18e7264c2c099deb4cd6f8079189593621c4f63803425ae8daa1e84a7c767ae4
3
+ size 40078
sample_000013.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01316a73f15aa6575a0547fea49a2c01799a4bca658f9497f148b0c66c4ada18
3
+ size 40078
sample_000014.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf3c10897cc335d327bda2f4c77a76e3bb8ca5b121f439576f6e3d9cc3de6fbb
3
+ size 40078
sample_000015.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1f701d2d541e5fdb4ad2581f917911cdd1697dcabc086ffac9ac4657b0df0a2
3
+ size 40078
sample_000016.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:509ef2f41c3d51c532d3159a9670cc767942ab89f56786cfe8f9edfb6c036981
3
+ size 40078
sample_000017.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e6b446b83ac7f634c29464bf796db7b28520042e212cbf7b52cbe1b7f467b2ab
3
+ size 40078
sample_000018.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4195db0afbdfb46a03a904c7ac71175e1dbd98494e62d70dba8bcfb799323f01
3
+ size 40078
sample_000019.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c92dfbe308a8b3b7af89ed5e1b594fa622339cd0837d65629cd8d59df629f32c
3
+ size 40078
sample_000020.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c5d7c8482eb8e9578dc57cdc88fd1632f7ce3047ae70b07ba95b6a896bbe9d13
3
+ size 40078
sample_000021.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42662b9b0e72f5ac9dfd35b9145bf74fd12eed1f8d5615d1e364744de370c321
3
+ size 40078
sample_000022.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:208942b3c7fb2a1eccf645834bd3a0bf3772545ef1f4662e6332cd19c32ae5ba
3
+ size 40078
sample_000023.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9a626eda338333be1bd3cac4619269818f9d73905f66864cdb9b8f4be50d296
3
+ size 40078
sample_000024.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb40ce7476783e82da5bd68532165bf12f3f436d2121e16c8ae8c0df56c0ea43
3
+ size 40078
sample_000025.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:443e3191acbbf88cbb8c49e7a56a76c1b226e05836aa0143ac113de5514f8702
3
+ size 40078
sample_000026.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c03b20239004b670d51fd321d506864a15c93dc2e7089435b15503e2d59a07f
3
+ size 40078
sample_000027.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c73a8d0c532ff0a493e7e657106e942e0f82bc95701b84985dca6d9e450f82e9
3
+ size 40078
sample_000028.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a85fecf6f3465a03b08f1a07c5a09da47231ef4dda3682c5e5dec7b95dcf4f9
3
+ size 40078
sample_000029.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e8a2e7a92b415d0f3fb82169f527c238689669b09785ef813d491fe3cf5edca
3
+ size 40078
sample_000030.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43272f299532daa796be70b631357532feaf4f7138d293995f0c4e1427d2f964
3
+ size 40078
sample_000031.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c5c380aa2e9978983e647cc0a5cab85161dadc8a16f26e1e80d9ebc37c17628
3
+ size 40078
sample_000032.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40d796be0e0b0e41b41347c98a1dc306210f24992a79bf8b3d1a2a1a7acb48e8
3
+ size 40078
sample_000033.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7647588b6327eeadea4a39297c9ba8e121f2f3319edce4ccc840390f01f86059
3
+ size 40078
sample_000034.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7939be39ec17aba4c71ba73301ba4f41e70faa7523669cc73dc0564ae2fa2798
3
+ size 40078
sample_000035.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9286b861ac6c174c4af7b42894cac3bc66d622a2779b962c53406a89affc31f
3
+ size 40078
sample_000036.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e781b5559aeb5300de87c4be54b2fd3fb15614665e3dcb9a955e5de8736c1cad
3
+ size 40078
sample_000037.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a9f38350c3c69997e5a4c7ed56c00e9dac54af775fd702b75a43437b4853531
3
+ size 40078
sample_000038.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34a922a77f84d5c1b827aee6644c5ed4f3a49cd9f44c81454a1109eea59e8e51
3
+ size 40078
sample_000039.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4239dd3a8476066eb311d608efc3bcec411170a95024b43dee31a9c36b29fa11
3
+ size 40078
sample_000040.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9575e1757cde35fce88f3743f683b0e5cbcc1a75e41c4cbad8f2b04f6fd9ceac
3
+ size 40078
sample_000041.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16bd9ab2ed24d6f9b03147c35a691ee1c79576eca1710695c006be47be35c695
3
+ size 40078
sample_000042.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99a2a9ba6a353d54ab20c6d11b3fed7ebf73f6132733402053521b93041a67e8
3
+ size 40078
sample_000043.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0f5b1fbb41736fcec8f718a2759f866ec869150e4c556feb99628053f60cf594
3
+ size 40078
sample_000044.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37184d1cff47bf654c3d8a7b1647ffa87f775274362476c4d62c4191731ac641
3
+ size 40078
sample_000045.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e59b0ffb8af22d5e86cbe23189c399d149364b1bebe011dba849a5970bf0b25d
3
+ size 40078
sample_000046.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e892282238965b1e03ab724b76f124ed4c43a385c93e684495b518742522c90a
3
+ size 40078
sample_000047.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e64f4279753e916b51b911129f5da751ac06f7357d9d10dcae110265d2f6035
3
+ size 40078