Dataset Viewer
Auto-converted to Parquet Duplicate
file_name
stringlengths
21
21
label
stringclasses
7 values
0000f77c-6257be58.jpg
city street
0000f77c-62c2a288.jpg
highway
0000f77c-cb820c98.jpg
residential
0001542f-5ce3cf52.jpg
city street
0001542f-7c670be8.jpg
highway
0001542f-ec815219.jpg
city street
0004974f-05e1c285.jpg
highway
00054602-3bf57337.jpg
city street
00067cfb-5443fe39.jpg
city street
00067cfb-5adfaaa7.jpg
highway
00067cfb-caba8a02.jpg
highway
00067cfb-e535423e.jpg
city street
00067cfb-f1b91e3c.jpg
city street
0008a165-c48f4b3e.jpg
highway
00091078-59817bb0.jpg
city street
00091078-7cff8ea6.jpg
city street
00091078-84635cf2.jpg
city street
00091078-875c1f73.jpg
city street
00091078-c1d32eea.jpg
city street
00091078-cedbfea7.jpg
city street
00091078-f32de4d2.jpg
city street
000d35d3-41990aa4.jpg
city street
000d4f89-3bcbe37a.jpg
residential
000e0252-8523a4a9.jpg
city street
000f157f-30b30f5e.jpg
city street
000f157f-37797ff9.jpg
highway
000f157f-dab3a407.jpg
city street
000f8d37-d4c09a0f.jpg
city street
0010bf16-9ee17cd9.jpg
city street
0010bf16-a457685b.jpg
city street
00131ea7-624f538d.jpg
highway
00134776-9123d227.jpg
city street
001bad4e-2fa8f3b6.jpg
city street
001c5339-08faca55.jpg
city street
001c5339-13a07470.jpg
city street
001c5339-9a6cdd3e.jpg
city street
00202076-7a95b4e3.jpg
city street
00202076-9eaa8e42.jpg
highway
00207869-046fa443.jpg
city street
00207869-902288d1.jpg
city street
00211b17-ad3e206b.jpg
city street
00225f53-4200bde2.jpg
city street
00225f53-67614580.jpg
city street
00232de3-19eca24a.jpg
city street
0024b742-83709bd4.jpg
city street
0024b742-acbed4fb.jpg
city street
002685b6-856c17f7.jpg
residential
00268999-0b20ef00.jpg
highway
00268999-9f6d5823.jpg
city street
00268999-a4b8e39d.jpg
city street
00268999-cb063914.jpg
city street
002827ad-8748e2fb.jpg
city street
0028cbbf-92f30408.jpg
highway
002ab96a-a96704f9.jpg
city street
002ab96a-ea678692.jpg
city street
002b485a-3f6603f2.jpg
city street
002b485a-d1301c7c.jpg
highway
002b562f-e0ac84fe.jpg
residential
002cd38e-c7defded.jpg
highway
002cd38e-ebe888e1.jpg
city street
002d290d-01969e7d.jpg
city street
002d290d-89d1aea8.jpg
city street
002d290d-89f4e5c0.jpg
highway
002d290d-90f2bab2.jpg
city street
002d290d-f9108a13.jpg
city street
002d290d-fa2a8964.jpg
highway
002e6895-442e6bc1.jpg
parking lot
002f8552-0cdd55c6.jpg
city street
0030f434-3eb4a3a9.jpg
city street
00313a01-62156032.jpg
city street
00313a01-725ddf3a.jpg
city street
00313a01-97de1f42.jpg
highway
00313a01-b53a2998.jpg
residential
00322f82-286ab9b3.jpg
city street
0032419c-7d20b300.jpg
highway
0033b19f-65613f7e.jpg
city street
0033b19f-7f07efac.jpg
city street
0034a363-24f318c4.jpg
city street
0035afff-3295dbd6.jpg
city street
0035afff-434368a1.jpg
city street
0035afff-47378fa3.jpg
residential
0035afff-572b2d4e.jpg
city street
0035afff-bd191d6a.jpg
residential
00378858-c5f802ac.jpg
city street
00390995-49d9a01e.jpg
city street
00391a82-8be5b76d.jpg
city street
00391a82-d1428e56.jpg
highway
003baca5-70c87fc6.jpg
highway
003baca5-aab2e274.jpg
highway
003baca5-ad660439.jpg
highway
003baca5-d6cd84e5.jpg
residential
003c4a61-52588960.jpg
highway
003e23ee-07d32feb.jpg
highway
003e23ee-67d25f19.jpg
city street
004071a4-049b7b85.jpg
city street
004071a4-4e8a363a.jpg
highway
004071a4-a45d905f.jpg
residential
004071a4-ef4bf541.jpg
city street
00417c23-220bbc98.jpg
highway
00423717-0ef3c8dc.jpg
city street
End of preview. Expand in Data Studio

BDD100K: Scenario Classification Dataset

BDD100K Scenario Classification Dataset Banner

Task Dataset Classes Splits License

Unofficial redistribution of BDD100K's per-image scene-type attribute, reframed as a 7-class image classification task, 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 or metadata.

This repository exists to reframe one of BDD100K's existing per-image attributes β€” scene type β€” as a standalone image-classification task: the original detection-labelled images, grouped into class folders by the scene field already present in BDD100K's official bdd100k_labels_images_{train,val}.json. No new images, annotations, or judgments were introduced; this is a re-sort of existing, official metadata.

This redistribution is sourced directly from BDD100K's official download (registration required at https://bdd-data.berkeley.edu/), not from any third-party mirror.


Dataset Overview

BDD100K is a large-scale, diverse driving-video dataset. Beyond object detection, lane marking, and segmentation, every one of its 100K-image frames carries three scene-level attributes captured at collection time: weather, scene type, and time of day. This repository isolates the scene type attribute into a 7-class image-classification dataset: city street, highway, residential, parking lot, tunnel, gas stations, and unknown (BDD100K's own label for frames where scene type could not be determined).

Companion repositories cover the other two attributes as their own classification tasks: weather (dronefreak/BDD100K-Weather-Classification) and time of day (dronefreak/BDD100K-Period-Classification). All three cover the exact same 69,863 train / 10,000 validation images β€” only the label changes.

No test split. BDD100K's official test images (20,000) were never given attribute labels (or detection labels) at all, so they cannot be used for classification either. Only train and validation are provided here.


Changes from the Official Release

  • Task reframed, not re-annotated. The scene value for each image comes directly from BDD100K's own bdd100k_labels_images_{train,val}.json attribute fields β€” the same file the detection task uses. No new labels were created; this repository only reorganizes existing ones into a classification-ready layout.
  • Format converted. The official attribute is a field inside a per-split detection-label JSON. This repository instead ships one metadata.jsonl per image shard ({"file_name": ..., "label": ...}), the Hugging Face imagefolder-compatible convention, so the dataset loads directly as a labelled image-classification dataset with no custom parsing.
  • Sharded for Hub limits. Images are split into shard_NNN/ subdirectories of ≀8,000 files (train: 9 shards, validation: 2 shards) to stay under Hugging Face's practical per-directory file-count ceiling. This has no effect on the data itself.
  • No image pixel content was modified. No images were added or removed relative to BDD100K's official labelled set.

Dataset Structure

<repo>/
β”œβ”€β”€ README.md
β”œβ”€β”€ bdd100k_scenario_banner.jpg
└── data/
    └── images/
        β”œβ”€β”€ train/
        β”‚   └── shard_000 … shard_008/   (*.jpg + metadata.jsonl, ~8,000 per shard)
        └── valid/
            └── shard_000 … shard_001/   (*.jpg + metadata.jsonl)

where each metadata.jsonl has one line per image: {"file_name": "<name>.jpg", "label": "<scene class>"}. Hugging Face's imagefolder/load_dataset resolves file_name relative to the metadata.jsonl it's listed in and loads the image automatically as the dataset's image column, with label as a plain string column.

Splits: train 69,863 images Β· validation 10,000 images (79,863 total β€” matches BDD100K's official labelled-image counts exactly).

Classes (7)

class train validation share (train)
city street 43,516 6,112 62.3%
highway 17,379 2,499 24.9%
residential 8,074 1,253 11.6%
parking lot 377 49 0.5%
unknown 361 53 0.5%
tunnel 129 27 0.2%
gas stations 27 7 0.04%

The distribution is heavily imbalanced: city street and highway together are over 87% of all images, while gas stations has only 27 training examples and tunnel only 129 β€” both far too few for a reliable standalone class without resampling, augmentation, or class weighting. unknown (BDD100K's own "could not be determined" label) is a real upstream label, not a defect in this redistribution.


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 an existing official attribute into a classification-ready layout; it does not modify, reinterpret, or take credit for the underlying imagery or labels.

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 (downloaded from https://bdd-data.berkeley.edu/) 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
45

Models trained or fine-tuned on dronefreak/BDD100K-Scenario-Classification