File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,9 @@ class UCF101(VisionDataset):
14
14
UCF101 is an action recognition video dataset.
15
15
This dataset consider every video as a collection of video clips of fixed size, specified
16
16
by ``frames_per_clip``, where the step in frames between each clip is given by
17
- ``step_between_clips``.
17
+ ``step_between_clips``. The dataset itself can be downloaded from the dataset website;
18
+ annotations that ``annotation_path`` should be pointing to can be downloaded from `here
19
+ <https://www.crcv.ucf.edu/data/UCF101/UCF101TrainTestSplits-RecognitionTask.zip>`.
18
20
19
21
To give an example, for 2 videos with 10 and 15 frames respectively, if ``frames_per_clip=5``
20
22
and ``step_between_clips=5``, the dataset size will be (2 + 3) = 5, where the first two
@@ -26,7 +28,8 @@ class UCF101(VisionDataset):
26
28
27
29
Args:
28
30
root (string): Root directory of the UCF101 Dataset.
29
- annotation_path (str): path to the folder containing the split files
31
+ annotation_path (str): path to the folder containing the split files;
32
+ see docstring above for download instructions of these files
30
33
frames_per_clip (int): number of frames in a clip.
31
34
step_between_clips (int, optional): number of frames between each clip.
32
35
fold (int, optional): which fold to use. Should be between 1 and 3.
You can’t perform that action at this time.
0 commit comments