@@ -105,10 +105,10 @@ def bench(f, average_over=50, warmup=2, **f_kwargs):
105105#
106106# Strictly speaking the ``seek_mode`` parameter only affects the performance of
107107# the :class:`~torchcodec.decoders.VideoDecoder` creation. It does not have a
108- # direct effect on frame decoding or sampling. **However**, because frame
109- # decoding and sampling patterns typically involve the creation of the
110- # :class:`~torchcodec.decoders.VideoDecoder` (one per video), ``seek_mode`` may
111- # very well end up affecting the performance of decoding and samplers. For
108+ # direct effect on the performance of frame decoding or sampling. **However**,
109+ # because frame decoding and sampling patterns typically involve the creation of
110+ # the :class:`~torchcodec.decoders.VideoDecoder` (one per video), ``seek_mode``
111+ # may very well end up affecting the performance of decoding and samplers. For
112112# example:
113113
114114from torchcodec import samplers
@@ -163,7 +163,7 @@ def sample_clips(seek_mode):
163163# ----------------------------------
164164#
165165# With ``seek_mode="exact"``, the :class:`~torchcodec.decoders.VideoDecoder`
166- # performs a :term:`scan` when it is instanciated . The scan doesn't involve
166+ # performs a :term:`scan` when it is instantiated . The scan doesn't involve
167167# decoding, but processes an entire file to infer more accurate metadata (like
168168# duration), and also builds an internal index of frames and key-frames. This
169169# internal index is potentially more accurate than the one in the file's
0 commit comments