diff --git a/video2dataset/subsamplers/resolution_subsampler.py b/video2dataset/subsamplers/resolution_subsampler.py index 46545f92..e2be0fb5 100644 --- a/video2dataset/subsamplers/resolution_subsampler.py +++ b/video2dataset/subsamplers/resolution_subsampler.py @@ -25,6 +25,7 @@ class ResolutionSubsampler(Subsampler): video_size (int): Both height and width. encode_format (str): Format to encode in (i.e. mp4) """ + def __init__( self, resize_mode: Literal["scale", "crop", "pad"],