Skip to content

potential fix to k2SSL hubert_ce encoder forward function#1901

Open
frankyoujian wants to merge 2 commits intok2-fsa:masterfrom
frankyoujian:k2SSL_potential_fix
Open

potential fix to k2SSL hubert_ce encoder forward function#1901
frankyoujian wants to merge 2 commits intok2-fsa:masterfrom
frankyoujian:k2SSL_potential_fix

Conversation

@frankyoujian
Copy link
Copy Markdown
Contributor

Issue Description:
When I want to dump features at the middle layer of encoder, i.e. zipformer, I will call extract_features like fairseq dump_hubert_feature . However, current encoder forward calling does not support None padding_mask.

Fix:
Handle None padding_mask when invoking encoder forward calling

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant