Datasets:
Kurt Stolle
commited on
Commit
·
2dd98f8
1
Parent(s):
986f2f1
Updated metafiles
Browse files- README.md +17 -0
- metadata.json +25 -0
- semantics.csv +0 -21
README.md
CHANGED
@@ -106,6 +106,23 @@ python scripts/download.py downloads data manifest.csv
|
|
106 |
rm -r downloads
|
107 |
```
|
108 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
109 |
|
110 |
## License
|
111 |
|
|
|
106 |
rm -r downloads
|
107 |
```
|
108 |
|
109 |
+
## Usage
|
110 |
+
|
111 |
+
Due to the structure, the dataset can be easily loaded using the `webdataset` library.
|
112 |
+
To convert the `train`, `val` and `test` directories into a `tar` archive, run the following command:
|
113 |
+
|
114 |
+
```bash
|
115 |
+
for split in train val test; do tar -cf "shards/csvps-$split-000001.tar" "data/$split" done
|
116 |
+
```
|
117 |
+
|
118 |
+
Subsequently, the dataset can be loaded using the `webdataset` library:
|
119 |
+
|
120 |
+
```python
|
121 |
+
import webdataset as wds
|
122 |
+
|
123 |
+
dataset = wds.WebDataset("shards/csvps-train-{000001}.tar")
|
124 |
+
```
|
125 |
+
|
126 |
|
127 |
## License
|
128 |
|
metadata.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"depth_range": [1, 90],
|
3 |
+
"semantics": [
|
4 |
+
{"name":"void","kind":"void","color":[128, 64, 128]},
|
5 |
+
{"name":"road","kind":"stuff","color":[128, 64, 128]},
|
6 |
+
{"name":"sidewalk","kind":"stuff","color":[244, 35, 232]},
|
7 |
+
{"name":"building","kind":"stuff","color":[70, 70, 70]},
|
8 |
+
{"name":"wall","kind":"stuff","color":[102, 102, 156]},
|
9 |
+
{"name":"fence","kind":"stuff","color":[190, 153, 153]},
|
10 |
+
{"name":"pole","kind":"stuff","color":[153, 153, 153]},
|
11 |
+
{"name":"traffic light","kind":"stuff","color":[250, 170, 30]},
|
12 |
+
{"name":"traffic sign","kind":"stuff","color":[220, 220, 0]},
|
13 |
+
{"name":"vegetation","kind":"stuff","color":[107, 142, 35]},
|
14 |
+
{"name":"terrain","kind":"stuff","color":[152, 251, 152]},
|
15 |
+
{"name":"sky","kind":"stuff","color":[70, 130, 180]},
|
16 |
+
{"name":"person","kind":"thing","color":[220, 20, 60]},
|
17 |
+
{"name":"rider","kind":"thing","color":[255, 0, 0]},
|
18 |
+
{"name":"car","kind":"thing","color":[0, 0, 142]},
|
19 |
+
{"name":"truck","kind":"thing","color":[0, 0, 70]},
|
20 |
+
{"name":"bus","kind":"thing","color":[0, 60, 100]},
|
21 |
+
{"name":"train","kind":"thing","color":[0, 80, 100]},
|
22 |
+
{"name":"motorcycle","kind":"thing","color":[0, 0, 230]},
|
23 |
+
{"name":"bicycle","kind":"thing","color":[119, 11, 32]}
|
24 |
+
]
|
25 |
+
}
|
semantics.csv
DELETED
@@ -1,21 +0,0 @@
|
|
1 |
-
label,name,kind,color
|
2 |
-
-1,void,void,"(128, 64, 128)"
|
3 |
-
0,road,stuff,"(128, 64, 128)"
|
4 |
-
1,sidewalk,stuff,"(244, 35, 232)"
|
5 |
-
2,building,stuff,"(70, 70, 70)"
|
6 |
-
3,wall,stuff,"(102, 102, 156)"
|
7 |
-
4,fence,stuff,"(190, 153, 153)"
|
8 |
-
5,pole,stuff,"(153, 153, 153)"
|
9 |
-
6,traffic light,stuff,"(250, 170, 30)"
|
10 |
-
7,traffic sign,stuff,"(220, 220, 0)"
|
11 |
-
8,vegetation,stuff,"(107, 142, 35)"
|
12 |
-
9,terrain,stuff,"(152, 251, 152)"
|
13 |
-
10,sky,stuff,"(70, 130, 180)"
|
14 |
-
11,person,thing,"(220, 20, 60)"
|
15 |
-
12,rider,thing,"(255, 0, 0)"
|
16 |
-
13,car,thing,"(0, 0, 142)"
|
17 |
-
14,truck,thing,"(0, 0, 70)"
|
18 |
-
15,bus,thing,"(0, 60, 100)"
|
19 |
-
16,train,thing,"(0, 80, 100)"
|
20 |
-
17,motorcycle,thing,"(0, 0, 230)"
|
21 |
-
18,bicycle,thing,"(119, 11, 32)"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|