espnet2.asr_transducer.utils.TooShortUttError
Less than 1 minute
espnet2.asr_transducer.utils.TooShortUttError
class espnet2.asr_transducer.utils.TooShortUttError(message: str, actual_size: int, limit: int)
Bases: Exception
Raised when the utt is too short for subsampling.
- Parameters:
- message – Error message to display.
- actual_size – The size that cannot pass the subsampling.
- limit – The size limit for subsampling.
Construct a TooShortUttError module.