Skip to content

Commit

Permalink
[bugfix] Fix the output format for VideoClips.subset (#6700) (#6706)
Browse files Browse the repository at this point in the history
Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com>

Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com>
  • Loading branch information
YosuaMichael and datumbox committed Oct 5, 2022
1 parent 8762598 commit 3bd6ce9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions torchvision/datasets/video_utils.py
Expand Up @@ -198,6 +198,7 @@ def subset(self, indices: List[int]) -> "VideoClips":
_video_max_dimension=self._video_max_dimension,
_audio_samples=self._audio_samples,
_audio_channels=self._audio_channels,
output_format=self.output_format,
)

@staticmethod
Expand Down

0 comments on commit 3bd6ce9

Please sign in to comment.