aisuko commited on
Commit
9b96080
1 Parent(s): 19aa097

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +53 -0
README.md CHANGED
@@ -1,3 +1,56 @@
1
  ---
2
  license: apache-2.0
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ task_categories:
4
+ - video-classification
5
  ---
6
+
7
+ # How to use
8
+
9
+ ```python
10
+ import tarfile
11
+ from huggingface_hub import hf_hub_download
12
+
13
+ hf_dataset_identifier="aisuko/ucf101-subset"
14
+ filename="UCF101_subset.tar.gz"
15
+ file_path=hf_hub_download(repo_id=hf_dataset_identifier, filename=filename, repo_type="dataset")
16
+
17
+ import tarfile
18
+
19
+ with tarfile.open(file_path) as t:
20
+ t.extractall(".")
21
+ ```
22
+
23
+ # Check the folder
24
+ ```
25
+ UCF101_subset/
26
+ train/
27
+ BandMarching/
28
+ video_1.mp4
29
+ video_2.mp4
30
+ ...
31
+ Archery
32
+ video_1.mp4
33
+ video_2.mp4
34
+ ...
35
+ ...
36
+ val/
37
+ BandMarching/
38
+ video_1.mp4
39
+ video_2.mp4
40
+ ...
41
+ Archery
42
+ video_1.mp4
43
+ video_2.mp4
44
+ ...
45
+ ...
46
+ test/
47
+ BandMarching/
48
+ video_1.mp4
49
+ video_2.mp4
50
+ ...
51
+ Archery
52
+ video_1.mp4
53
+ video_2.mp4
54
+ ...
55
+ ...
56
+ ```