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

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

BDD100K Period Classification Dataset Banner

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 detection-labelled images, grouped into class folders by the timeofday 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 time of day attribute into a 4-class image-classification dataset: daytime, night, dawn or dusk, and unknown (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 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 timeofday 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_period_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": "<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 69,863 images Β· validation 10,000 images (79,863 total β€” matches BDD100K's official labelled-image counts exactly).

Classes (4)

class train validation share (train)
daytime 36,728 5,258 52.6%
night 27,971 3,929 40.0%
dawn or dusk 5,027 778 7.2%
unknown 137 35 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 or dusk a meaningful 7% minority and unknown (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 (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
71

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