You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,8 +16,7 @@ The VideoFrameDataset class (an implementation of `torch.utils.data.Dataset`) se
16
16
1) Easily because this dataset class can be used with custom datasets with minimum effort and no modification. The class merely expects the
17
17
video dataset to have a certain structure on disk and expects a .txt annotation file that enumerates each video sample. Details on this
18
18
can be found below. Pre-made annotation files and preparation scripts are also provided for [Kinetics 400](https://github.com/cvdfoundation/kinetics-dataset), [Something Something V2](https://20bn.com/datasets/something-something) and [Epic Kitchens 100](https://epic-kitchens.github.io/2021).
19
-
2) Efficiently because the video loading pipeline that this class implements is very fast. This minimizes GPU waiting time during training by eliminating input bottlenecks
20
-
that can slow down training time by several folds.
19
+
2) Efficiently because the video loading pipeline that this class implements is very fast. This minimizes GPU waiting time during training by eliminating CPU input bottlenecks that can slow down training time by several folds.
21
20
3) Effectively because the implemented sampling strategy for video frames is very strong. Video training using the entire sequence of
22
21
video frames (often several hundred) is too memory and compute intense. Therefore, this implementation samples frames evenly from the video (sparse temporal sampling)
23
22
so that the loaded frames represent every part of the video, with support for arbitrary and differing video lengths within the same dataset.
0 commit comments