Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
1.28k
1.28k
label
stringclasses
4 values
daytime
night
night
night
night
night
daytime
daytime
dawn/dusk
night
daytime
daytime
dawn/dusk
daytime
night
night
night
daytime
daytime
daytime
daytime
night
night
night
night
night
daytime
night
daytime
daytime
night
night
night
dawn/dusk
daytime
daytime
daytime
night
night
daytime
night
daytime
dawn/dusk
daytime
daytime
daytime
daytime
night
daytime
daytime
night
night
night
dawn/dusk
daytime
daytime
night
night
daytime
dawn/dusk
night
night
daytime
daytime
daytime
daytime
night
night
night
night
daytime
daytime
daytime
daytime
daytime
daytime
daytime
daytime
night
daytime
daytime
night
night
daytime
daytime
daytime
daytime
daytime
daytime
daytime
daytime
night
daytime
night
night
night
night
night
night
dawn/dusk
End of preview. Expand in Data Studio

BDD100K: Period (Time-of-Day) Classification Dataset

Task Dataset Classes Splits License

Unofficial redistribution of BDD100K's per-image time-of-day attribute, reframed as a 4-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 — time of day — as a standalone image-classification task: the original images, each labelled with the timeofday field already present in BDD100K's official per-image label files (100k/{train,val,test}/<name>.json in bdd100k_labels.zip). No new images, annotations, or judgments were introduced; this is a re-sort of existing, official metadata.

This redistribution is sourced directly from the original BDD100K zips (bdd100k_images_100k.zip, bdd100k_labels.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.


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 time of day attribute into a 4-class image-classification dataset: daytime, night, dawn/dusk, and undefined (BDD100K's own label for frames where time of day could not be determined).

Companion repositories cover the other two attributes as their own classification tasks: weather (dronefreak/BDD100K-Weather-Classification) and scene type (dronefreak/BDD100K-Scenario-Classification). All three cover the exact same 70,000 train / 10,000 validation / 20,000 test images; only the label changes.

Test split included. BDD100K's per-image label files also label the 20,000 official test images, so test is provided alongside train and validation. (The older 2018 label files, bdd100k_labels_images_{train,val}.json, have no test labels and miss 137 train images.)


Changes from the Official Release

  • Task reframed, not re-annotated. The timeofday value for each image comes directly from BDD100K's own per-image label files (bdd100k_labels.zip), the same files 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 each image's 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. Label values are BDD100K's own, unchanged (for example undefined).
  • Sharded for Hub limits. Images are split into shard_NNN/ subdirectories of ≤8,000 files (train: 9 shards, validation: 2 shards, test: 3 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
└── data/
    └── images/
        ├── train/
        │   └── shard_000 … shard_008/   (*.jpg + metadata.jsonl, ~8,000 per shard)
        ├── val/
        │   └── shard_000 … shard_001/   (*.jpg + metadata.jsonl)
        └── test/
            └── shard_000 … shard_002/   (*.jpg + metadata.jsonl)

where each metadata.jsonl has one line per image: {"file_name": "<name>.jpg", "label": "<time-of-day 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 70,000 images · validation 10,000 images · test 20,000 images (100,000 total, every image of BDD100K's 100K set).

Classes (4)

class train validation test share (train)
daytime 36,800 5,258 10,446 52.6%
night 28,028 3,929 8,036 40.0%
dawn/dusk 5,033 778 1,476 7.2%
undefined 139 35 42 0.2%

Of the three attribute tasks in this series, this one is the most balanced: daytime and night together make up over 92% of images in roughly a 4:3 ratio, with dawn/dusk a meaningful 7% minority and undefined (BDD100K's own "could not be determined" label) a small 0.2% — small enough that it may be worth excluding or merging for training, depending on use case.


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 (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
2,868

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

Collections including dronefreak/BDD100K-Period-Classification