Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Very poor performance on my own wav file, is there anything wrong? #40

Open
Yunlong-He opened this issue Sep 18, 2020 · 2 comments
Open

Comments

@Yunlong-He
Copy link

I just did a simple try with my phone call wave file, which is about 2.5 minutes, only 2 speakers in total. However, with pretrained model in this project, it returns 3 speakers and many slices contains voices from 2 speakers, I know that uis-rnn doesn't support setting speaker numbers, but the poor performance seems incorrect, has anybody met it?

Thanks if any suggestions.

@ShuningZhao
Copy link

Is your own wav file in English or Chinese? I had a look at the wav file in this repo, it seems like the models were trained in Mandarin. Hence the results were bad on my English wav files.

@Yunlong-He
Copy link
Author

Thanks to Shuning, I verified on Mandarin wave files too, and I just check the sample result provided in this project, it seems not very good too. I use following code to split wave file:

sound = AudioSegment.from_file(wav_path)
for spk,timeDicts in speakerSlice.items():
    print('========= ' + str(spk) + ' =========')
    index = 0
    for timeDict in timeDicts:
        s = timeDict['start']
        e = timeDict['stop']
        seg = sound[s:e]
        seg.export("wavs/rmd/" + str(spk) + "/seg_%d.wav" % index, format="wav")
        index = index + 1

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

No branches or pull requests

2 participants