v2.5.0
Datasets ⭐
EXAMPLE CODE
WIDER Dataset
Load WIDER in Python with one line of code. WIDER is an event recognition dataset. Stream WIDER dataset while training models in Pytorch & Tensorflow.
Visualization of WIDER dataset on the Activeloop Platform

WIDER dataset

What is WIDER Dataset?

The WIDER dataset is used for complex event recognition from static images. It contains 61 event categories and around 50574 images annotated with event class labels. Half of the dataset is training data, and half of the dataset is for testing.

Download WIDER Dataset in Python

Instead of downloading the WIDER dataset in Python, you can effortlessly load it in Python via our open-source package Hub with just one line of code.

Load WIDER Dataset Training Subset in Python

1
import hub
2
ds = hub.load('hub://activeloop/wider-train')
Copied!

Load WIDER Dataset Testing Subset in Python

1
import hub
2
ds = hub.load('hub://activeloop/wider-test')
Copied!

WIDER Dataset Structure

WIDER Data Fields

  • images: tensor containing the image.
  • labels: tensor to represent image label categories.

WIDER Data Splits

How to use Wider Dataset with PyTorch and TensorFlow in Python

Train a model on WIDER dataset with PyTorch in Python

Let's use Hub's built-in PyTorch one-line dataloader to connect the data to the compute:
1
dataloader = ds.pytorch(num_workers=0, batch_size=4, shuffle=False)
Copied!

Train a model on WIDER dataset with TensorFlow in Python

1
dataloader = ds.tensorflow()
Copied!

Additional Information about WIDER Dataset

WIDER Dataset Description

  • Paper: Introduced by Xiong, Yuanjun and Zhu, Kai and Lin, Dahua and Tang, Xiaoou in Recognize Complex Events from Static Images by Fusing Deep Channels
  • Point of Contact: N/A

WIDER Dataset Curators

Xiong, Yuanjun and Zhu, Kai and Lin, Dahua and Tang, Xiaoou

WIDER Dataset Licensing Information

Hub users may have access to a variety of publicly available datasets. We do not host or distribute these datasets, vouch for their quality or fairness, or claim that you have a license to use the datasets. It is your responsibility to determine whether you have permission to use the datasets under their license.
If you're a dataset owner and do not want your dataset to be included in this library, please get in touch through a GitHub issue. Thank you for your contribution to the ML community!

WIDER Dataset Citation Information

1
@inproceedings{xiong2015wider,
2
title={Recognize Complex Events from Static Images by Fusing Deep Channels},
3
author={Xiong, Yuanjun and Zhu, Kai and Lin, Dahua and Tang, Xiaoou},
4
booktitle={Computer Vision and Pattern Recognition (CVPR), 2015 IEEE Conference on},
5
year={2015},
6
organization={IEEE}
7
}
Copied!

WIDER Dataset FAQs

What is the WIDER dataset for Python?

The WIDER dataset contains 61 event categories and around 50574 images annotated with event class labels. Half of the dataset is training data, and half of the dataset is for testing. The dataset is often used for complex event recognition from static images.

How can I use the WIDER dataset in PyTorch or TensorFlow?

You can stream the WIDER dataset while training a model in PyTorch or TensorFlow with one line of code using the open-source package Activeloop Hub in Python. See detailed instructions on how to train a model on WIDER dataset with PyTorch in Python or train a model on WIDER dataset with TensorFlow in Python.