ProgramerSalar commited on
Commit
39535ef
Β·
verified Β·
1 Parent(s): a155e68

Update README.md

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