Skip to content

Script on extracting the embeddings for future use#2142

Merged
mravanelli merged 11 commits intospeechbrain:developfrom
underdogliu:resnet_spkreg
Sep 27, 2023
Merged

Script on extracting the embeddings for future use#2142
mravanelli merged 11 commits intospeechbrain:developfrom
underdogliu:resnet_spkreg

Conversation

@underdogliu
Copy link
Collaborator

@underdogliu underdogliu commented Aug 22, 2023

Contribution in a nutshell

So far we have been conducting everything on-the-fly when doing evaluation. However, there might be some cases where the users would like to use embeddings for some other purposes (and it is the trend nowadays for speech processing in my opinion). Therefore, it would be helpful if we can provide a simple script that extract the embeddings using our models, given a list of utterances and their wav paths.

This PR also cleans one line in the hparams file on data folder.

Notes for reviewing (optional)

This change has these implication which might need attention over here; —how should we tackle this?

Pre-review

  • (if applicable) add minor comments on the code
  • Perform testing by somebody else

@underdogliu underdogliu requested a review from mravanelli August 22, 2023 05:19
@mravanelli mravanelli added the enhancement New feature or request label Sep 18, 2023
@mravanelli mravanelli merged commit 16ef036 into speechbrain:develop Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants