Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
720
1.28k
mask
imagewidth (px)
1.28k
1.28k
color_mask
imagewidth (px)
1.28k
1.28k
classes
stringlengths
3
138
id
stringlengths
17
17
road, building, fence, pole, traffic light, traffic sign, vegetation, sky, person, car
0004a4c0-d4dff0ad
road, sidewalk, building, pole, traffic sign, vegetation, terrain, sky, car
00054602-3bf57337
road, sidewalk, building, pole, traffic light, traffic sign, vegetation, sky, person, car, bus
00067cfb-e535423e
road, sidewalk, building, pole, traffic light, traffic sign, sky, car, truck, bus
00091078-59817bb0
road, sidewalk, building, pole, traffic light, traffic sign, vegetation, sky, car, bus
0010bf16-a457685b
road, building, wall, pole, traffic sign, vegetation, terrain, sky, car
001b428f-059bac33
fence, vegetation, sky
001c2a14-c7138401
road, sidewalk, building, fence, pole, traffic light, traffic sign, vegetation, sky, car
0024b742-acbefa1a
road, sidewalk, building, pole, traffic sign, vegetation, sky, person, car
0027eed2-09c90000
road, sidewalk, building, pole, vegetation, sky, car, truck
0027eed2-09c90001
road, sidewalk, building, fence, pole, traffic light, traffic sign, vegetation, sky, car, bicycle
0027eed2-60fb0001
road, sidewalk, building, pole, traffic light, vegetation, sky, car
0027eed2-815a0000
road, sidewalk, building, pole, traffic light, traffic sign, vegetation, sky, person, car
0027eed2-815a0001
road, building, wall, pole, traffic light, traffic sign, vegetation, sky, person, car
0027eed2-a6630000
road, sidewalk, building, pole, traffic sign, vegetation, sky, person, car, truck
0027eed2-a6630001
road, sidewalk, building, pole, traffic sign, vegetation, sky, car
002a3213-ab7f6730
road, building, wall, pole, traffic sign, vegetation, sky, car, truck
002bf392-acddbad2
road, sidewalk, building, wall, pole, traffic light, traffic sign, vegetation, sky, person, car
002d467e-00000000
road, sidewalk, building, fence, pole, traffic light, traffic sign, vegetation, sky, car, bus
003571f2-f2848ebd
road, sidewalk, building, wall, pole, traffic sign, vegetation, terrain, sky, car
003ddde7-36ee8299
road, sidewalk, building, fence, pole, traffic light, traffic sign, vegetation, sky, person, car
004071a4-049be89b
road, building, vegetation, sky, car
00495359-1d04dd8a
road, sidewalk, building, pole, traffic sign, vegetation, terrain, sky, car
004af474-00000000
road, sidewalk, building, pole, vegetation, sky, person, car, truck, motorcycle
004fd763-ad4c2b9c
road, building, wall, pole, vegetation, sky, car
005bb196-00000000
road, sidewalk, building, pole, traffic light, traffic sign, vegetation, sky, car
005c4fd3-cb4d49cf
road, building, wall, fence, pole, traffic sign, vegetation, sky, car
0066b72f-974f6883
road, sidewalk, building, fence, pole, traffic light, vegetation, sky, car, truck
006a7635-c42f9f97
road, sidewalk, pole, traffic sign, car
0096bcca-c2027ec4
road, pole, traffic light, traffic sign, vegetation, terrain, sky, car, truck
00a360bd-27ccb1dd
road, sidewalk, building, pole, traffic sign, vegetation, sky, person, rider, car, motorcycle, bicycle
00a395fe-d60c0b47
road, building, pole, vegetation, terrain, sky, person, car, truck
00a7ef03-00000000
road, sidewalk, building, wall, fence, pole, traffic light, traffic sign, vegetation, terrain, sky, car
00a9cd6b-b39be004
road, sidewalk, building, pole, traffic sign, sky, person, car
00aad4a0-ee8135fe
road, sidewalk, building, pole, traffic sign, vegetation, sky, car
00ad8a92-c4851839
road, sidewalk, building, pole, traffic sign, vegetation, sky, person, car
00bc0319-94afabc2
road, sidewalk, building, fence, pole, traffic light, traffic sign, vegetation, sky, person, rider, car, bicycle
00cc68dd-3d50a55f
road, building, pole, vegetation, terrain, sky, car, truck
00d1c9e3-a7a7075f
road, sidewalk, building, fence, pole, traffic sign, vegetation, sky, car, bus
00d79c0a-23bea078
road, building, pole, traffic sign, vegetation, terrain, sky, car, bus
00d79c0a-23befe54
road, sidewalk, building, fence, pole, traffic sign, vegetation, sky, car, truck
00d8944b-e157478b
road, sidewalk, building, wall, pole, traffic light, traffic sign, vegetation, terrain, sky, person, car, truck
00de5508-00000000
road, building, wall, fence, pole, traffic sign, vegetation, terrain, sky, car, truck
00de601c-858a8a8d
road, sidewalk, building, pole, traffic light, traffic sign, vegetation, sky, car, truck
00e69ee0-9656df95
road, building, pole, traffic light, traffic sign, vegetation, terrain, sky, car
00e76cc5-a03dbf48
pole, vegetation, sky, car
00e9be89-00000015
road, sidewalk, building, wall, pole, traffic light, traffic sign, vegetation, terrain, sky, car
00e9be89-00000100
road, sidewalk, building, wall, pole, traffic light, traffic sign, vegetation, terrain, sky, car
00e9be89-00000105
road, sidewalk, building, wall, pole, traffic light, traffic sign, vegetation, terrain, sky, car
00e9be89-00000110
road, sidewalk, building, pole, traffic light, traffic sign, vegetation, terrain, sky, car
00e9be89-00000115
road, sidewalk, building, pole, traffic light, traffic sign, vegetation, terrain, sky, car
00e9be89-00000120
road, sidewalk, building, pole, traffic light, traffic sign, vegetation, terrain, sky, car
00e9be89-00000125
road, sidewalk, building, wall, pole, traffic light, vegetation, terrain, sky, car
00e9be89-00000130
road, sidewalk, building, wall, fence, pole, traffic light, traffic sign, vegetation, terrain, sky
00e9be89-00000135
road, sidewalk, building, pole, traffic light, traffic sign, vegetation, terrain, sky, car
00e9be89-00000140
road, sidewalk, building, wall, pole, traffic light, traffic sign, vegetation, terrain, sky, car
00e9be89-00000145
road, sidewalk, building, wall, pole, traffic light, vegetation, terrain, sky
00e9be89-00000150
road, sidewalk, building, wall, pole, traffic light, traffic sign, vegetation, terrain, sky, car
00e9be89-00000160
road, sidewalk, fence, pole, traffic light, traffic sign, vegetation, terrain, sky, car
00e9be89-00000165
road, building, pole, traffic sign, vegetation, terrain, sky, car, truck
00e9be89-00000175
road, building, pole, vegetation, terrain, sky, car, truck
00e9be89-00000190
road, building, wall, fence, pole, traffic sign, vegetation, sky, car, truck
00e9be89-00001000
road, pole, traffic sign, vegetation, terrain, sky, car
00e9be89-00001005
road, building, pole, traffic sign, vegetation, terrain, sky, car, truck
00e9be89-00001010
road, building, pole, traffic sign, vegetation, sky, car, truck
00e9be89-00001015
road, building, wall, pole, traffic light, traffic sign, vegetation, sky, car, truck
00e9be89-00001020
road, building, wall, pole, traffic sign, vegetation, sky, car, truck
00e9be89-00001025
road, building, pole, vegetation, sky, car
00e9be89-00001030
road, building, pole, traffic sign, vegetation, sky, car, truck
00e9be89-00001035
road, building, pole, vegetation, terrain, sky, car, truck
00e9be89-00001040
road, building, pole, traffic sign, vegetation, sky, car, truck
00e9be89-00001045
road, building, pole, traffic sign, vegetation, sky, car, truck
00e9be89-00001050
road, building, pole, traffic sign, vegetation, terrain, sky, car
00e9be89-00001055
road, building, wall, pole, traffic sign, vegetation, terrain, sky, car, truck
00e9be89-00001060
road, wall, pole, traffic sign, vegetation, terrain, sky, car, truck
00e9be89-00001065
road, building, wall, pole, traffic sign, vegetation, terrain, sky, car, truck, bus
00e9be89-00001070
road, building, wall, pole, traffic light, traffic sign, vegetation, terrain, sky, car, truck
00e9be89-00001075
road, building, wall, pole, traffic sign, vegetation, sky, car
00e9be89-00001080
road, building, wall, fence, pole, traffic sign, vegetation, sky, car, truck
00e9be89-00001090
road, building, fence, pole, traffic sign, vegetation, sky, car
00e9be89-00001095
road, building, wall, fence, pole, traffic sign, vegetation, terrain, sky, car
00e9be89-00001100
road, building, fence, pole, traffic sign, vegetation, sky, car
00e9be89-00001105
road, building, wall, pole, traffic sign, vegetation, terrain, sky, car, truck
00e9be89-00001115
road, sidewalk, building, pole, vegetation, sky, car, truck, bus
00e9be89-00001125
road, building, wall, pole, traffic light, vegetation, sky, car, truck
00e9be89-00001130
road, building, pole, traffic sign, vegetation, sky, car, truck
00e9be89-00001135
road, building, pole, traffic sign, vegetation, terrain, sky, car, truck
00e9be89-00001140
road, building, pole, traffic sign, vegetation, sky, car, truck
00e9be89-00001150
road, building, pole, traffic sign, vegetation, sky, car, truck
00e9be89-00001155
road, building, fence, pole, traffic sign, vegetation, sky, car, truck
00e9be89-00001160
road, building, pole, traffic sign, vegetation, terrain, sky, car, truck
00e9be89-00001165
road, building, pole, traffic sign, vegetation, terrain, sky, car
00e9be89-00001170
road, building, fence, pole, traffic sign, vegetation, terrain, sky, car, truck
00e9be89-00001175
road, building, fence, pole, traffic sign, vegetation, terrain, sky, car, truck
00e9be89-00001180
road, building, wall, fence, pole, traffic sign, vegetation, terrain, sky, car, truck
00e9be89-00001185
road, building, fence, pole, traffic sign, vegetation, terrain, sky, car, truck, bus
00e9be89-00001190
road, building, fence, pole, traffic sign, vegetation, sky, car, truck
00e9be89-00001195
road, building, fence, pole, traffic sign, vegetation, terrain, sky, car, truck
00e9be89-00001200
road, building, fence, pole, traffic sign, vegetation, sky, car, truck
00e9be89-00001205
road, building, fence, pole, traffic sign, vegetation, sky, car, truck
00e9be89-00001210
End of preview. Expand in Data Studio

BDD100K: Semantic Segmentation Dataset

Task Dataset Classes Splits License

Unofficial redistribution of BDD100K's semantic segmentation task (10K-image subset), under BDD100K's own data license (non-commercial/educational/research redistribution, with notice, explicitly permitted).

Disclaimer

This repository is not an official release of BDD100K.

BDD100K was created by Fisher Yu, Haofeng Chen, Xin Wang, Wenqi Xian, Yingying Chen, Fangchen Liu, Vashisht Madhavan, and Trevor Darrell at UC Berkeley (BAIR), who retain all copyright. This repository does not claim ownership of any images, annotations, or metadata.

This redistribution is sourced directly from the original BDD100K zips (bdd100k_images_10k.zip, bdd100k_seg_maps.zip) on Berkeley's file server, http://128.32.162.150/bdd100k/, not from any third-party mirror. The official download portal, https://bdd-data.berkeley.edu/, is no longer reachable. Unlike this project's other BDD100K repositories, this one is not a re-sort of the 100K detection image set — semantic segmentation is a genuinely separate, smaller 10K-image subset with its own dedicated pixel-level annotations (pixel labeling is far more expensive than boxes or image-level tags, so only a sample of the full 100K images was ever annotated for this task).

Companion repositories cover BDD100K's other tasks: object detection, and the per-image attribute classification tasks — weather, scenario, and period/time-of-day.


Dataset Overview

BDD100K's semantic segmentation task provides dense, pixel-level class labels for a 10,000-image subset of the full dataset: 7,000 train + 1,000 validation images at 1280x720, each with a per-pixel class mask. The task uses a 19-class taxonomy explicitly designed to be compatible with Cityscapes (verified directly from the official bdd100k/label/label.py source), covering flat surfaces, construction, objects, nature, sky, humans, and vehicles. A reserved 255 ("ignore") value marks pixels that are unlabelled or belong to a class excluded from evaluation (e.g. ego-vehicle hood, dynamic/static clutter) — these should be excluded from loss and metric computation, not treated as a 20th real class.

Test images without masks. BDD100K's 2,000 official test images for this task have no released masks (held out for the leaderboard). The images are included, as in the official zip, but only train and val can be used for training and evaluation.


Changes from the Official Release

  • No format conversion. Unlike this project's classification repositories, the official release already ships exactly what's needed — JPEG images, single-channel trainId-encoded PNG masks, and RGBA color-visualization PNGs — so this repository redistributes them unmodified, just reorganized and sharded for Hugging Face.
  • Same folders as the official zips. Images keep the bdd100k_images_10k.zip layout (images_10k/10k/<split>/) and masks the bdd100k_seg_maps.zip layout (seg_maps/{labels,color_labels}/<split>/), with the official file names. Images and masks are linked by file name.
  • Viewer table added. One data/metadata_<split>.jsonl file per split links each image to its two masks (mask_file_name, color_mask_file_name) and lists the classes present (classes), so the dataset viewer (with search) and datasets.load_dataset work. The 2,000 test images, which have no masks, are a separate test_images config.
  • Sharded for Hub limits. Each split folder holds one shard_000/ subdirectory (every split is under 8,000 files), the same convention as this project's other BDD100K repositories. This has no effect on the data itself.
  • An id2label.json was added at the repository root (not part of the official release) mapping all 19 trainId values — plus 255 — to their class names, for convenience. This mirrors the convention used by Hugging Face's own official segmentation sample datasets.
  • No image or mask pixel content was modified. No examples were added or removed relative to the official release.

Dataset Structure

<repo>/
├── README.md
├── id2label.json
└── data/
    ├── metadata_{train,validation,test}.jsonl   (viewer table, one row per image)
    ├── images_10k/10k/
    │   ├── train/   shard_000/   (7,000 JPEGs)
    │   ├── val/     shard_000/   (1,000 JPEGs)
    │   └── test/    shard_000/   (2,000 JPEGs, no masks)
    └── seg_maps/
        ├── labels/
        │   ├── train/   shard_000/   (<id>_train_id.png)
        │   └── val/     shard_000/
        └── color_labels/
            ├── train/   shard_000/   (<id>_train_color.png)
            └── val/     shard_000/

Each image <id>.jpg in images_10k/10k/<split>/ has its grayscale class mask <id>_train_id.png in seg_maps/labels/<split>/ and an RGBA color visualization of the same mask, <id>_train_color.png, in seg_maps/color_labels/<split>/: the official BDD100K naming, unmodified. bdd100k-toolkit reads this layout directly (bdd100k-prepare --dataset bdd100k-semantic-seg) and ignores the metadata_*.jsonl files, which only serve the viewer and load_dataset (columns image, mask, color_mask, classes, id).

Splits: train 7,000 images · validation 1,000 images with masks (8,000 total, matching BDD100K's official semantic segmentation subset), plus test 2,000 images without masks.

Classes (19 + ignore)

Pixel share and per-image presence, computed directly from all 8,000 masks in this repository:

id class train pixel share train presence val pixel share val presence
0 road 21.49% 6,877/7,000 21.60% 992/1,000
1 sidewalk 2.03% 4,667/7,000 2.05% 732/1,000
2 building 13.26% 6,189/7,000 14.89% 893/1,000
3 wall 0.48% 1,077/7,000 0.36% 119/1,000
4 fence 1.03% 2,141/7,000 0.81% 241/1,000
5 pole 0.92% 6,648/7,000 0.97% 961/1,000
6 traffic light 0.18% 3,293/7,000 0.14% 528/1,000
7 traffic sign 0.34% 5,270/7,000 0.23% 776/1,000
8 vegetation 13.21% 6,422/7,000 15.42% 958/1,000
9 terrain 1.03% 2,563/7,000 0.91% 384/1,000
10 sky 17.30% 6,635/7,000 17.91% 977/1,000
11 person 0.25% 2,429/7,000 0.27% 379/1,000
12 rider 0.02% 361/7,000 0.01% 39/1,000
13 car 8.11% 6,811/7,000 9.07% 971/1,000
14 truck 0.97% 2,137/7,000 1.01% 331/1,000
15 bus 0.56% 1,051/7,000 0.63% 136/1,000
16 train 0.01% 47/7,000 0.01% 7/1,000
17 motorcycle 0.02% 266/7,000 0.02% 42/1,000
18 bicycle 0.05% 447/7,000 0.02% 45/1,000
255 unlabeled/ignore 18.72% 7,000/7,000 13.67% 1,000/1,000

road, sky, building, and vegetation together cover roughly two-thirds of labelled pixels; rider, train, and motorcycle are extremely rare both by pixel area and by image presence (train appears in only 47 of 7,000 training images). The 255 ignore value covers a substantial 14-19% of pixels — exclude it from loss/metric computation, it is not a 20th real class.


Dataset Sources

Original Paper

BDD100K: A Diverse Driving Dataset for Heterogeneous Multitask Learning

Fisher Yu, Haofeng Chen, Xin Wang, Wenqi Xian, Yingying Chen, Fangchen Liu, Vashisht Madhavan, Trevor Darrell

Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2020, pages 2633-2642. DOI: 10.1109/CVPR42600.2020.00271

Official Resources


Attribution

All credit for collecting and annotating this dataset belongs entirely to the original BDD100K authors: Fisher Yu, Haofeng Chen, Xin Wang, Wenqi Xian, Yingying Chen, Fangchen Liu, Vashisht Madhavan, and Trevor Darrell, and UC Berkeley / BAIR.

This repository only reorganizes and shards the official files for Hugging Face compatibility; it does not modify, reinterpret, or take credit for the underlying imagery or annotations.

If you use this dataset in your research, please cite the original publication below.


License

BDD100K's code repository is BSD-3-Clause, but that license applies only to the code, not the data. The data and labels (originally from https://bdd-data.berkeley.edu/, now served at http://128.32.162.150/bdd100k/) carry their own license, reproduced here in full as required by its own terms:

Copyright ©2018. The Regents of the University of California (Regents). All Rights Reserved.

THIS SOFTWARE AND/OR DATA WAS DEPOSITED IN THE BAIR OPEN RESEARCH COMMONS REPOSITORY ON 1/1/2021

Permission to use, copy, modify, and distribute this software and its documentation for educational, research, and not-for-profit purposes, without fee and without a signed licensing agreement; and permission to use, copy, modify and distribute this software for commercial purposes (such rights not subject to transfer) to BDD and BAIR Commons members and their affiliates, is hereby granted, provided that the above copyright notice, this paragraph and the following two paragraphs appear in all copies, modifications, and distributions. Contact The Office of Technology Licensing, UC Berkeley, 2150 Shattuck Avenue, Suite 510, Berkeley, CA 94720-1620, (510) 643-7201, otl@berkeley.edu, http://ipira.berkeley.edu/industry-info for commercial licensing opportunities.

IN NO EVENT SHALL REGENTS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF REGENTS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

REGENTS SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE AND ACCOMPANYING DOCUMENTATION, IF ANY, PROVIDED HEREUNDER IS PROVIDED "AS IS". REGENTS HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.

Source: https://github.com/bdd100k/bdd100k/blob/master/doc/source/license.rst

Accordingly:

  • Redistribution for educational, research, and not-for-profit purposes is explicitly permitted, without fee, provided this notice is carried forward — which is what this repository does.
  • Commercial use and distribution is restricted to BDD and BAIR Commons members and their affiliates. Contact UC Berkeley's Office of Technology Licensing (contact details above) for commercial licensing.
  • This repository, and any further redistribution of it, must carry this same notice.

Citation

If you use this dataset, please cite:

@inproceedings{yu2020bdd100k,
  title={BDD100K: A Diverse Driving Dataset for Heterogeneous Multitask Learning},
  author={Yu, Fisher and Chen, Haofeng and Wang, Xin and Xian, Wenqi and Chen, Yingying and Liu, Fangchen and Madhavan, Vashisht and Darrell, Trevor},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  pages={2633--2642},
  year={2020}
}

Acknowledgements

We sincerely thank Fisher Yu, Haofeng Chen, Xin Wang, Wenqi Xian, Yingying Chen, Fangchen Liu, Vashisht Madhavan, and Trevor Darrell, and UC Berkeley / BAIR, for creating and publicly releasing this valuable driving-scene benchmark.

Downloads last month
8,196

Models trained or fine-tuned on dronefreak/BDD100K-Semantic-Segmentation

Collection including dronefreak/BDD100K-Semantic-Segmentation