Zzz0918 commited on
Commit
06b864d
·
verified ·
1 Parent(s): 7ad1ea4

Document dataset archives and YOLO weights

Browse files
Files changed (1) hide show
  1. README.md +86 -43
README.md CHANGED
@@ -4,61 +4,104 @@ pretty_name: 2D and 3D Traffic Elements for nuScenes, NAVSIM, and SimScale
4
 
5
  # 2D and 3D Traffic Elements for nuScenes, NAVSIM, and SimScale
6
 
7
- This dataset contains YOLO-format 2D Traffic Element labels and generated 3D Traffic Element center points for the nuScenes, NAVSIM, and SimScale datasets.
8
 
9
- ## Files
10
 
11
- - `nuscenes_traffic_elements.tar.gz`: 2D labels and 3D center points for nuScenes.
12
- - `navsim_traffic_elements.tar.gz`: 2D labels and 3D center points for NAVSIM.
13
- - `simscale_traffic_elements.tar.gz`: 2D labels and 3D center points for SimScale.
 
 
 
14
 
15
- ## Extraction
16
 
17
- <!-- Extract the archives from the root of the [TE-Aware-E2E-AD](https://github.com/ZZongzheng0918/TE-Aware-E2E-AD) repository: -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
 
19
  ```bash
20
- tar -xzf data/releases/nuscenes_traffic_elements.tar.gz
21
- tar -xzf data/releases/navsim_traffic_elements.tar.gz
22
- tar -xzf data/releases/simscale_traffic_elements.tar.gz
23
  ```
24
 
25
  The extracted files follow this structure:
26
 
27
  ```text
28
  data/
29
- ├── nuscenes/
30
- ├── traffic_elements/
31
- └── <sample_token>.json
32
- └── traffic_elements_2d/
33
- └── labels/
34
- └── <image_name>.txt
35
- ├── navsim/
36
- ├── traffic_elements/
37
- ├── trainval/
38
- └── <log_name>/
39
- └── <image_token>.json
40
- └── test/
41
- └── <log_name>/
42
- └── <image_token>.json
43
- └── traffic_elements_2d/
44
- ├── trainval/
45
- └── <log_name>/
46
- └── labels/
47
- └── <image_token>.txt
48
- └── test/
49
- └── <log_name>/
50
- └── labels/
51
- └── <image_token>.txt
52
- └── simscale/
53
- ├── traffic_elements/
54
- └── <split>/
55
- └── <scene_name>/
56
- └── <image_token>.json
57
- └── traffic_elements_2d/
58
- └── <split>/
59
- └── <scene_name>/
60
- └── labels/
61
- └── <image_token>.txt
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
  ```
63
 
64
  Please follow the licenses and terms of use of the original nuScenes, NAVSIM, and SimScale datasets.
 
4
 
5
  # 2D and 3D Traffic Elements for nuScenes, NAVSIM, and SimScale
6
 
7
+ This repository provides YOLO-format 2D Traffic Element labels and generated 3D Traffic Element center points for the nuScenes, NAVSIM, and SimScale datasets. It also includes the released YOLO checkpoint used for 2D Traffic Element detection.
8
 
9
+ ## Resources
10
 
11
+ | Resource | Repository path | Description |
12
+ | --- | --- | --- |
13
+ | nuScenes Traffic Elements | [`nuscenes_traffic_elements.tar.gz`](https://huggingface.co/datasets/Zzz0918/Traffic_Elements/blob/main/nuscenes_traffic_elements.tar.gz) | 2D labels and 3D center points for nuScenes |
14
+ | NAVSIM Traffic Elements | [`navsim_traffic_elements.tar.gz`](https://huggingface.co/datasets/Zzz0918/Traffic_Elements/blob/main/navsim_traffic_elements.tar.gz) | 2D labels and 3D center points for NAVSIM |
15
+ | SimScale Traffic Elements | [`simscale_traffic_elements.tar.gz`](https://huggingface.co/datasets/Zzz0918/Traffic_Elements/blob/main/simscale_traffic_elements.tar.gz) | 2D labels and 3D center points for SimScale |
16
+ | YOLO detector checkpoint | [`weights/yolo/best.pt`](https://huggingface.co/datasets/Zzz0918/Traffic_Elements/blob/main/weights/yolo/best.pt) | Weights for 2D Traffic Element detection |
17
 
18
+ Related resources: [Paper](https://arxiv.org/abs/2608.18035) | [Project Page](https://zzongzheng0918.github.io/TE-Aware-E2E-AD/) | [Code](https://github.com/ZZongzheng0918/TE-Aware-E2E-AD)
19
 
20
+ ## Download
21
+
22
+ Download the complete release:
23
+
24
+ ```bash
25
+ huggingface-cli download Zzz0918/Traffic_Elements \
26
+ --repo-type dataset \
27
+ --local-dir traffic_elements_release
28
+ ```
29
+
30
+ The three dataset archives and YOLO checkpoint can also be downloaded individually from the links in the table above.
31
+
32
+ ## Dataset Extraction
33
+
34
+ Run the following commands from the root of the [TE-Aware-E2E-AD](https://github.com/ZZongzheng0918/TE-Aware-E2E-AD) repository:
35
 
36
  ```bash
37
+ tar -xzf traffic_elements_release/nuscenes_traffic_elements.tar.gz
38
+ tar -xzf traffic_elements_release/navsim_traffic_elements.tar.gz
39
+ tar -xzf traffic_elements_release/simscale_traffic_elements.tar.gz
40
  ```
41
 
42
  The extracted files follow this structure:
43
 
44
  ```text
45
  data/
46
+ |-- nuscenes/
47
+ | |-- traffic_elements/
48
+ | | `-- <sample_token>.json
49
+ | `-- traffic_elements_2d/
50
+ | `-- labels/
51
+ | `-- <image_name>.txt
52
+ |-- navsim/
53
+ | |-- traffic_elements/
54
+ | | |-- trainval/
55
+ | | | `-- <log_name>/
56
+ | | | `-- <image_token>.json
57
+ | | `-- test/
58
+ | | `-- <log_name>/
59
+ | | `-- <image_token>.json
60
+ | `-- traffic_elements_2d/
61
+ | |-- trainval/
62
+ | | `-- <log_name>/
63
+ | | `-- labels/
64
+ | | `-- <image_token>.txt
65
+ | `-- test/
66
+ | `-- <log_name>/
67
+ | `-- labels/
68
+ | `-- <image_token>.txt
69
+ `-- simscale/
70
+ |-- traffic_elements/
71
+ | `-- <split>/
72
+ | `-- <scene_name>/
73
+ | `-- <image_token>.json
74
+ `-- traffic_elements_2d/
75
+ `-- <split>/
76
+ `-- <scene_name>/
77
+ `-- labels/
78
+ `-- <image_token>.txt
79
+ ```
80
+
81
+ ## YOLO Detector Weights
82
+
83
+ The released detector checkpoint is stored at `weights/yolo/best.pt`. Copy it to the location expected by the inference scripts:
84
+
85
+ ```bash
86
+ mkdir -p ultralytics/weights
87
+ cp traffic_elements_release/weights/yolo/best.pt ultralytics/weights/best.pt
88
+ ```
89
+
90
+ Alternatively, download the checkpoint directly:
91
+
92
+ ```bash
93
+ mkdir -p ultralytics/weights
94
+ curl -L "https://huggingface.co/datasets/Zzz0918/Traffic_Elements/resolve/main/weights/yolo/best.pt?download=true" \
95
+ -o ultralytics/weights/best.pt
96
+ ```
97
+
98
+ The resulting code-repository path should be:
99
+
100
+ ```text
101
+ TE-Aware-E2E-AD/
102
+ `-- ultralytics/
103
+ `-- weights/
104
+ `-- best.pt
105
  ```
106
 
107
  Please follow the licenses and terms of use of the original nuScenes, NAVSIM, and SimScale datasets.