Skip to content

apply_mask in HuBERT does not apply expected percentage of masks if the input shapes differ. which is true in the case of fintuning. #5642

@raotnameh

Description

@raotnameh

mask_indices = compute_mask_indices(
(B, T),
padding_mask,
self.mask_prob,
self.mask_length,
self.mask_selection,
self.mask_other,
min_masks=2,
no_overlap=self.no_mask_overlap,
min_space=self.mask_min_space,
require_same_masks=False,
)
require_same_masks need to set to False, which is not the case default.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions