Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

i always get 1 for the result #13

Open
yitong241 opened this issue Aug 4, 2019 · 7 comments
Open

i always get 1 for the result #13

yitong241 opened this issue Aug 4, 2019 · 7 comments

Comments

@yitong241
Copy link

hello, thank you very much for your code but there is something I do not understand.

I saved some training .wav file in the following path: "\speaker-recognition-py3-master\tmp\person\1.wav", "\speaker-recognition-py3-master\tmp\person\2.wav", "\speaker-recognition-py3-master\tmp\person\3.wav"

when I tried to predict, this was the output.

Snipaste_2019-08-04_16-43-39

could u help me with the problem?
thank you

@alonyomtov123
Copy link

I have the same problem

@KeyurGK
Copy link

KeyurGK commented Oct 3, 2019

how to give input to this code in spyder

@izhangy
Copy link

izhangy commented Oct 25, 2019

请问如何添加音频数据进行训练?

@izhangy
Copy link

izhangy commented Oct 28, 2019

我也遇到了同样的问题,有人解答一下吗?

@RitchieQi
Copy link

Actually, I had this problem too and I fixed it by training all the .wav files in just one command instead of training them one by one.
The reason ,which caused this problem, I guess it's because the code will generate a model.out file for every training command. If you train them one by one, the posterior model.out file will replace the prior one. As a consequence, you will always get a score 1.0 for your latest training sample.
Hope this could be helpful.

@Manav-Motwani
Copy link

Sir what was length of each training file?

Actually, I had this problem too and I fixed it by training all the .wav files in just one command instead of training them one by one.
The reason ,which caused this problem, I guess it's because the code will generate a model.out file for every training command. If you train them one by one, the posterior model.out file will replace the prior one. As a consequence, you will always get a score 1.0 for your latest training sample.
Hope this could be helpful.

@RitchieQi
Copy link

Sir what was length of each training file?

Actually, I had this problem too and I fixed it by training all the .wav files in just one command instead of training them one by one.
The reason ,which caused this problem, I guess it's because the code will generate a model.out file for every training command. If you train them one by one, the posterior model.out file will replace the prior one. As a consequence, you will always get a score 1.0 for your latest training sample.
Hope this could be helpful.

It up to you. In my case, I recorded three 1-min .wav files for each volunteer.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants