videoalignment/datasets.py [377:385]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            if ts.shape[0] > self.length:
                # warnings.warn('I have rescaled a feature vector!')
                ts = ts[: self.length]

            offset = self.length - ts.shape[0]
            if offset > 0:
                ts = np.concatenate([ts, np.zeros([offset] + list(ts.shape[1:]))])

        xs = get_timestamps(fps, self.fps, ts.shape[0]) * self.fps
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



videoalignment/datasets.py [393:401]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            if ts.shape[0] > self.length:
                # warnings.warn('I have rescaled a feature vector!')
                ts = ts[: self.length]

            offset = self.length - ts.shape[0]
            if offset > 0:
                ts = np.concatenate([ts, np.zeros([offset] + list(ts.shape[1:]))])

        xs = get_timestamps(fps, self.fps, ts.shape[0]) * self.fps
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



