Datasets:
Modalities:
Text
Formats:
webdataset
Languages:
English
Size:
10K - 100K
Tags:
body-motion
human-human-interactions
human-object-interaction
playing-musical-interaction
sports
License:
File size: 6,316 Bytes
39535ef a155e68 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 |
---
license: mit
task_categories:
- text-to-video
- video-classification
- video-text-to-text
- voice-activity-detection
- visual-question-answering
language:
- en
tags:
- body-motion
- human-human-interactions
- human-object-interaction
- playing-musical-interaction
- sports
pretty_name: r1-video
size_categories:
- 100K<n<1M
---
# Video Dataset on Hugging Face
This repository hosts the video dataset, a widely used benchmark dataset for human action recognition in videos. The dataset has been processed and uploaded to the Hugging Face Hub for easy access, sharing, and integration into machine learning workflows.
---
## Table of Contents
- [Introduction](#introduction)
- [Dataset Overview](#dataset-overview)
- [Dataset Structure](#dataset-structure)
- [Usage](#usage)
- [Features](#features)
- [Preprocessing](#preprocessing)
- [Hugging Face Integration](#hugging-face-integration)
- [Applications](#applications)
- [Contributing](#contributing)
- [License](#license)
- [Acknowledgments](#acknowledgments)
---
## Introduction
The dataset is a large-scale video dataset designed for action recognition tasks. It contains 13,320 video clips across 101 action categories, making it one of the most comprehensive datasets for video-based machine learning research. The dataset is widely used in academia and industry for benchmarking video classification models.
This repository provides a Hugging Face-compatible version of the dataset, enabling seamless integration with the Hugging Face ecosystem. By hosting the dataset on the Hugging Face Hub, we aim to simplify dataset access, sharing, and reproducibility for researchers and developers.
---
## Dataset Overview
- **Name**:
- **Number of Classes**: 101
- **Number of Videos**: 13,320
- **Categories**: Human actions such as sports, musical instruments, and human-object interactions.
- **Format**: The dataset is stored in an image folder format, where each class has its own subdirectory containing frames extracted from videos.
The dataset is ideal for tasks such as:
- Action recognition
- Video classification
- Transfer learning
- Benchmarking deep learning models
---
## Dataset Structure
The dataset is organized in an image folder format, which is compatible with the Hugging Face `datasets` library. The directory structure is as follows:
```
/data
βββ class1
β βββ video1_frame1.jpg
β βββ video1_frame2.jpg
β βββ ...
βββ class2
β βββ video2_frame1.jpg
β βββ video2_frame2.jpg
β βββ ...
βββ ...
```
Each subdirectory represents a class, and the images within the subdirectory are frames extracted from videos belonging to that class.
---
## Usage
### Loading the Dataset
To load the dataset using the Hugging Face `datasets` library, use the following code:
```python
from datasets import load_dataset
dataset = load_dataset("ProgramerSalar/video_dataset")
```
### Accessing the Dataset
Once loaded, you can access the dataset's splits and features:
```python
print(dataset)
```
### Pushing Updates to the Dataset
If you make modifications to the dataset and want to push the changes to the Hugging Face Hub, use the following code:
```python
dataset.push_to_hub("ProgramerSalar/video_dataset")
```
---
## Features
- **Easy Access**: Load the dataset directly from the Hugging Face Hub without manual downloads or preprocessing.
- **Hugging Face Integration**: Compatible with the Hugging Face `datasets` library for seamless integration into machine learning pipelines.
- **Customizable**: Modify the dataset structure or preprocessing steps to suit your specific needs.
- **Reproducibility**: Ensure consistent dataset handling across different projects and teams.
---
## Preprocessing
The dataset has been preprocessed to extract frames from videos and organize them into an image folder format. This format is widely used for video classification tasks and is compatible with most deep learning frameworks.
If you wish to preprocess the dataset further, you can use tools like OpenCV or FFmpeg to extract frames, resize images, or apply data augmentation.
---
## Hugging Face Integration
The Hugging Face Hub is a powerful platform for sharing datasets, models, and other machine learning assets. By hosting the dataset on the Hub, we provide the following benefits:
- **Centralized Access**: Access the dataset from anywhere with an internet connection.
- **Collaboration**: Share the dataset with collaborators or the community.
- **Version Control**: Maintain different versions of the dataset for reproducibility.
To push updates to the dataset, authenticate with your Hugging Face account and use the `push_to_hub` method provided by the `datasets` library.
---
## Applications
The dataset is suitable for a wide range of applications, including:
- **Action Recognition**: Train models to classify human actions in videos.
- **Transfer Learning**: Use the dataset to pretrain models for video-based tasks.
- **Benchmarking**: Evaluate the performance of video classification models.
- **Research**: Explore new architectures and techniques for video understanding.
---
## Contributing
Contributions to this project are welcome! If you have suggestions for improvements or new features, feel free to open an issue or submit a pull request. Please ensure your contributions adhere to the following guidelines:
- Follow the existing code style and structure.
- Provide clear and concise documentation for any new features.
- Test your changes thoroughly before submitting.
---
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
---
## Acknowledgments
- ** Dataset Creators**: Thank you for creating and maintaining this invaluable resource for the machine learning community.
- **Hugging Face**: For providing the `datasets` library and the Hub platform.
- **Open-Source Community**: For contributing tools and resources that make machine learning accessible to everyone.
---
## Contact
If you have any questions or need assistance, feel free to reach out:
- **Author**: ProgramerSalar
- **Email**: [your-email@example.com]
- **GitHub**: [ProgramerSalar](https://github.com/ProgramerSalar)
---
Happy coding and exploring the dataset! π |