espnet.nets.pytorch_backend.transformer.subsampling.TooShortUttError
Less than 1 minute
espnet.nets.pytorch_backend.transformer.subsampling.TooShortUttError
class espnet.nets.pytorch_backend.transformer.subsampling.TooShortUttError(message, actual_size, limit)
Bases: Exception
Raised when the utt is too short for subsampling.
- Parameters:
- message (str) – Message for error catch
- actual_size (int) – the short size that cannot pass the subsampling
- limit (int) – the limit size for subsampling
Construct a TooShortUttError for error handler.