Datasets:
metadata
license: apache-2.0
task_categories:
- video-classification
How to use
import tarfile
from huggingface_hub import hf_hub_download
hf_dataset_identifier="aisuko/ucf101-subset"
filename="UCF101_subset.tar.gz"
file_path=hf_hub_download(repo_id=hf_dataset_identifier, filename=filename, repo_type="dataset")
import tarfile
with tarfile.open(file_path) as t:
t.extractall(".")
Check the folder
UCF101_subset/
train/
BandMarching/
video_1.mp4
video_2.mp4
...
Archery
video_1.mp4
video_2.mp4
...
...
val/
BandMarching/
video_1.mp4
video_2.mp4
...
Archery
video_1.mp4
video_2.mp4
...
...
test/
BandMarching/
video_1.mp4
video_2.mp4
...
Archery
video_1.mp4
video_2.mp4
...
...