Datasets:
file_name stringlengths 21 21 | label stringclasses 7
values |
|---|---|
0000f77c-6257be58.jpg | clear |
0000f77c-62c2a288.jpg | clear |
0000f77c-cb820c98.jpg | clear |
0001542f-5ce3cf52.jpg | clear |
0001542f-7c670be8.jpg | clear |
0001542f-ec815219.jpg | clear |
0004974f-05e1c285.jpg | rainy |
00054602-3bf57337.jpg | clear |
00067cfb-5443fe39.jpg | clear |
00067cfb-5adfaaa7.jpg | clear |
00067cfb-caba8a02.jpg | clear |
00067cfb-e535423e.jpg | unknown |
00067cfb-f1b91e3c.jpg | clear |
0008a165-c48f4b3e.jpg | unknown |
00091078-59817bb0.jpg | unknown |
00091078-7cff8ea6.jpg | snowy |
00091078-84635cf2.jpg | snowy |
00091078-875c1f73.jpg | snowy |
00091078-c1d32eea.jpg | snowy |
00091078-cedbfea7.jpg | snowy |
00091078-f32de4d2.jpg | snowy |
000d35d3-41990aa4.jpg | clear |
000d4f89-3bcbe37a.jpg | clear |
000e0252-8523a4a9.jpg | clear |
000f157f-30b30f5e.jpg | clear |
000f157f-37797ff9.jpg | clear |
000f157f-dab3a407.jpg | unknown |
000f8d37-d4c09a0f.jpg | unknown |
0010bf16-9ee17cd9.jpg | rainy |
0010bf16-a457685b.jpg | unknown |
00131ea7-624f538d.jpg | overcast |
00134776-9123d227.jpg | clear |
001bad4e-2fa8f3b6.jpg | unknown |
001c5339-08faca55.jpg | clear |
001c5339-13a07470.jpg | clear |
001c5339-9a6cdd3e.jpg | clear |
00202076-7a95b4e3.jpg | clear |
00202076-9eaa8e42.jpg | unknown |
00207869-046fa443.jpg | clear |
00207869-902288d1.jpg | clear |
00211b17-ad3e206b.jpg | clear |
00225f53-4200bde2.jpg | overcast |
00225f53-67614580.jpg | overcast |
00232de3-19eca24a.jpg | clear |
0024b742-83709bd4.jpg | overcast |
0024b742-acbed4fb.jpg | rainy |
002685b6-856c17f7.jpg | overcast |
00268999-0b20ef00.jpg | clear |
00268999-9f6d5823.jpg | partly cloudy |
00268999-a4b8e39d.jpg | clear |
00268999-cb063914.jpg | clear |
002827ad-8748e2fb.jpg | unknown |
0028cbbf-92f30408.jpg | overcast |
002ab96a-a96704f9.jpg | partly cloudy |
002ab96a-ea678692.jpg | overcast |
002b485a-3f6603f2.jpg | clear |
002b485a-d1301c7c.jpg | snowy |
002b562f-e0ac84fe.jpg | clear |
002cd38e-c7defded.jpg | unknown |
002cd38e-ebe888e1.jpg | overcast |
002d290d-01969e7d.jpg | partly cloudy |
002d290d-89d1aea8.jpg | partly cloudy |
002d290d-89f4e5c0.jpg | clear |
002d290d-90f2bab2.jpg | clear |
002d290d-f9108a13.jpg | clear |
002d290d-fa2a8964.jpg | unknown |
002e6895-442e6bc1.jpg | partly cloudy |
002f8552-0cdd55c6.jpg | snowy |
0030f434-3eb4a3a9.jpg | partly cloudy |
00313a01-62156032.jpg | clear |
00313a01-725ddf3a.jpg | clear |
00313a01-97de1f42.jpg | clear |
00313a01-b53a2998.jpg | clear |
00322f82-286ab9b3.jpg | clear |
0032419c-7d20b300.jpg | clear |
0033b19f-65613f7e.jpg | partly cloudy |
0033b19f-7f07efac.jpg | partly cloudy |
0034a363-24f318c4.jpg | clear |
0035afff-3295dbd6.jpg | clear |
0035afff-434368a1.jpg | clear |
0035afff-47378fa3.jpg | clear |
0035afff-572b2d4e.jpg | clear |
0035afff-bd191d6a.jpg | clear |
00378858-c5f802ac.jpg | clear |
00390995-49d9a01e.jpg | clear |
00391a82-8be5b76d.jpg | snowy |
00391a82-d1428e56.jpg | overcast |
003baca5-70c87fc6.jpg | overcast |
003baca5-aab2e274.jpg | clear |
003baca5-ad660439.jpg | clear |
003baca5-d6cd84e5.jpg | clear |
003c4a61-52588960.jpg | clear |
003e23ee-07d32feb.jpg | clear |
003e23ee-67d25f19.jpg | unknown |
004071a4-049b7b85.jpg | snowy |
004071a4-4e8a363a.jpg | clear |
004071a4-a45d905f.jpg | clear |
004071a4-ef4bf541.jpg | clear |
00417c23-220bbc98.jpg | partly cloudy |
00423717-0ef3c8dc.jpg | clear |
BDD100K: Weather Classification Dataset
Unofficial redistribution of BDD100K's per-image weather 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 β weather condition β as a standalone image-classification task: the original detection-labelled images, grouped into class folders by the weather 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 weather attribute into a clean 7-class image-classification dataset: clear, partly cloudy, overcast, rainy, snowy, foggy, and unknown (BDD100K's own label for frames where weather could not be determined).
Companion repositories cover the other two attributes as their own classification tasks: scene type (dronefreak/BDD100K-Scenario-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
weathervalue for each image comes directly from BDD100K's ownbdd100k_labels_images_{train,val}.jsonattribute 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.jsonlper image shard ({"file_name": ..., "label": ...}), the Hugging Faceimagefolder-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_weather_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": "<weather 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) |
|---|---|---|---|
clear |
37,344 | 5,346 | 53.5% |
overcast |
8,770 | 1,239 | 12.6% |
unknown |
8,119 | 1,157 | 11.6% |
snowy |
5,549 | 769 | 7.9% |
rainy |
5,070 | 738 | 7.3% |
partly cloudy |
4,881 | 738 | 7.0% |
foggy |
130 | 13 | 0.2% |
The distribution is heavily imbalanced: clear alone is over half of all images, while foggy is only 0.2% (130 training images) β too few for a reliable standalone class without resampling, augmentation, or class weighting. unknown (BDD100K's own "could not be determined" label) is a sizeable 11.6% and 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
- Official Website: https://www.vis.xyz/bdd100k/
- Official Download Portal: https://bdd-data.berkeley.edu/
- Official Code Repository: https://github.com/bdd100k/bdd100k
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
- -