Convert compute_embeddings.py .pth file to .npy files. #2333
KiriKoppelgaard
started this conversation in
General
Replies: 1 comment 1 reply
-
I managed to get it running by segmenting the .pth file into embeddings per utterance. I had to change the code a little though. For future reference:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
I am trying to run the notebook PlotUmapLibriTTS.ipynb. This notebook requires a list of .npy files to visualise the speaker embeddings. However, compute_embeddings.py only generates a .pth-file. I've been trying to convert the files, doing something like this:
However, I run into problems later, because I have not saved the files in the correct format. Any insights into how the files should be organised to run PlotUmapLibriTTS.ipynb? Or simply code to convert .pth-files to a range of .npy-files?
/Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions