Cannot run speaker verification example because of XA must be a 2-dimensional array #1137
Ca-ressemble-a-du-fake
started this conversation in
General
Replies: 1 comment 2 replies
-
I am having the same issue! Was anyone successful with the embeddings example? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
First of all thanks again for this beautiful library!
I followed the speaker verification example but got :
ValueError: XA must be a 2-dimensional array.
.So I followed this answer from SO and applied the same
reshape()
on all embeddingX but depending on the reshape I get different values.a. For example reshape(-1,1) will yield a distance of '0' between wav files from the same speaker, whereas it will give '2' between wav files from different speakers.
b. On the contrary reshape(1,-1) will give '0.42' for wav files from the same speaker and '0.91' for wav files from different speakers.
Consequently I am really not sure if I am doing things correctly because :
cdist
outputs a matrix.So could you help me solving this problem ?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions