Skip to content

Commit d0903e0

Browse files
authored
Merge pull request #16 from RaivoKoot/refactor
update docstrings
2 parents 355370a + 88d4699 commit d0903e0

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

video_dataset.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)