File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -106,12 +106,8 @@ class VideoFrameDataset(torch.utils.data.Dataset):
106106 imagefile_template: The image filename template that video frame files
107107 have inside of their video folders as described above.
108108 transform: Transform pipeline that receives a list of PIL images/frames.
109- random_shift: Whether the frames from each segment should be taken
110- consecutively starting from the center of the segment, or
111- consecutively starting from a random location inside the
112- segment range.
113- test_mode: Whether this is a test dataset. If so, chooses
114- frames from segments with random_shift=False.
109+ test_mode: If True, frames are taken from the center of each
110+ segment, instead of a random location in each segment.
115111
116112 """
117113 def __init__ (self ,
You can’t perform that action at this time.
0 commit comments