Comments (4)
But of course feel free to open another issue if you can work around that and still want to give this a shot :)
from speaker-diarization.
Hi!
Telephone conversations are usually of quite poor quality, however, you can try some things:
- Change the sample rate to 16khz with
sox
to match the models. This doesn't enhance the quality but at least makes it work. - Also with
sox
, try to reduce the noise: - If the recording conditions are too dominant, probably everything will get clustered into the
speaker_1
. Try making the speaker change detection more sensible, by trying for example a lambda of 0.75:
call(['./spk-change-detection.py', vad_recipe, args.feapath,
'-o', spkchange_recipe, '-m', 'gw', '-d', 'BIC', '-w', '1.0',
'-st', '3.0', '-dws', '0.1', '-l', '0.75']) # Lambda to 0.75
- Try using GLR with a fine-tuned distance threshold for the spk-clustering2.py:
call(['./spk-clustering.py', spkchange_recipe, args.feapath,
'-o', outfile, '-m', 'hi', '-d', 'GLR', '-t', '3000']) # Distance: GLR, Threshold: 3000 (fine tune for your data)
You'll find that code in the wrapper script spk-diarization2.py
, make the changes there :)
I hope this helps, let me know to close the issue if possible :)
from speaker-diarization.
Hi! Awesome answer, thanks!
I tried to implement the suggestions, they didn't work very well. Sometimes, it really looks like it is working, but it is not most of the time. I understood how changing the lambda and GLR Threshold impacts on segmentation and clustering, but it seems that the problem lies elsewhere. Also, tuning the parameters until I get good results in one audio may not generalize to the rest.
You can close the issue. Thank you very much for the help!
from speaker-diarization.
Sorry I couldn't be of more help! You are totally right, those parameters are data-dependent, so if the recording conditions vary a lot on your dataset, this won't work too well, and you'll need something more advanced than what this package can provide :(
from speaker-diarization.
Related Issues (15)
- Issue with Running Audio File HOT 3
- Dockerfile is missing the step to install ffmpeg HOT 1
- Questions about BIC distance calculation HOT 1
- DockerHub-hosted image not up to date HOT 1
- I want to make a wav file using stdout, how can i make? HOT 5
- Speed is too slow. Is this docker can use gpu? HOT 1
- Building my own model HOT 3
- UnboundLocalError: local variable 'feas' referenced before assignment HOT 2
- Excessive CPU HOT 1
- Docker Image for Speech Diarization HOT 3
- separate `.wav` files per speaker HOT 2
- Can I recognize only one speaker? HOT 2
- OSError: [Errno 2] No such file or directory HOT 1
- WAV files format HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from speaker-diarization.