espnet2.train.collate_fn.HuBERTCollateFn
Less than 1 minute
espnet2.train.collate_fn.HuBERTCollateFn
class espnet2.train.collate_fn.HuBERTCollateFn(float_pad_value: float | int = 0.0, int_pad_value: int = -32768, label_downsampling: int = 1, pad: bool = False, rand_crop: bool = True, crop_audio: bool = True, not_sequence: Collection[str] = (), window_size: float = 25, window_shift: float = 20, sample_rate: float = 16)
Bases: CommonCollateFn
Functor class of common_collate_fn()