Text Independent Speaker Verification Using GE2E Loss
Python
84
0 commits
updated Dec 3, 2018
Tensorflow implementation of Text Independent Speaker Verification based on Generalized End-to-End Loss for Speaker Verification and Transfer Learning from Speaker Verification to Multispeaker Text-To-Speech Synthesis
Both papers above used internal data which consist of
36M utterances from 18K speakers.
In this repository, the original dataset was substituted with the combination of VoxCeleb1,2 and LibriSpeech. All of them are available for free.
The whole data of those 3 have 10% EER whereas the original one has 5% EER according to Transfer Learning from Speaker Verification to Multispeaker Text-To-Speech Synthesis.
Below are links for the data
Downloading data will be soon added to preprocess.py. Before that, manually download dataset using the links below
Use requirements.txt for installing python packages.
pip install -r requirements.txt
wav_root - speaker_id - video_clip_id - 00001.wav
- 00002.wav
- ...
wav_root - speaker_id - video_clip_id - 00001.m4a
- 00002.m4a
- ...
wav_root - speaker_id - speaker_id-001.wav
- speaker_id-002.wav
- ...
python preprocess.py --in_dir /home/ninas96211/data/libri --pk_dir /home/ninas96211/data/pickle --data_type libri
python preprocess.py --in_dir /home/ninas96211/data/vox1 --pk_dir /home/ninas96211/data/pickle --data_type vox1
python preprocess.py --in_dir /home/ninas96211/data/vox2 --pk_dir /home/ninas96211/data/pickle--data_type vox2
python train.py --in_dir /home/ninas96211/data/wavs_pickle --ckpt_dir ./ckpt
bash data_gen.sh /home/ninas96211/data/test_wav/id10275/CVUXDNZzcmA/00002.wav ~/data/test_wav_set
python inference.py --in_wav1 /home/ninas96211/data/test_wav_set/id10309_pwfqGqgezH4_00004.wav --in_wav2 /home/ninas96211/data/test_wav_set/id10296_f_k09R8r_cA_00004.wav --ckpt_file ./ckpt/model.ckpt-35000

After training 35000 steps using vox1 dataset, this model caught similarity between two waves from the same video clip, however in other cases, it was not successful. Currently this model using all 3 datasets(libri,vox1,vox2) is training and the result will be posted soon.
Python
98.7%
Shell
1.3%
Text Independent Speaker Verification Using GE2E Loss
Python
84
0 commits
updated Dec 3, 2018
Tensorflow implementation of Text Independent Speaker Verification based on Generalized End-to-End Loss for Speaker Verification and Transfer Learning from Speaker Verification to Multispeaker Text-To-Speech Synthesis
Both papers above used internal data which consist of
36M utterances from 18K speakers.
In this repository, the original dataset was substituted with the combination of VoxCeleb1,2 and LibriSpeech. All of them are available for free.
The whole data of those 3 have 10% EER whereas the original one has 5% EER according to Transfer Learning from Speaker Verification to Multispeaker Text-To-Speech Synthesis.
Below are links for the data
Downloading data will be soon added to preprocess.py. Before that, manually download dataset using the links below
Use requirements.txt for installing python packages.
pip install -r requirements.txt
wav_root - speaker_id - video_clip_id - 00001.wav
- 00002.wav
- ...
wav_root - speaker_id - video_clip_id - 00001.m4a
- 00002.m4a
- ...
wav_root - speaker_id - speaker_id-001.wav
- speaker_id-002.wav
- ...
python preprocess.py --in_dir /home/ninas96211/data/libri --pk_dir /home/ninas96211/data/pickle --data_type libri
python preprocess.py --in_dir /home/ninas96211/data/vox1 --pk_dir /home/ninas96211/data/pickle --data_type vox1
python preprocess.py --in_dir /home/ninas96211/data/vox2 --pk_dir /home/ninas96211/data/pickle--data_type vox2
python train.py --in_dir /home/ninas96211/data/wavs_pickle --ckpt_dir ./ckpt
bash data_gen.sh /home/ninas96211/data/test_wav/id10275/CVUXDNZzcmA/00002.wav ~/data/test_wav_set
python inference.py --in_wav1 /home/ninas96211/data/test_wav_set/id10309_pwfqGqgezH4_00004.wav --in_wav2 /home/ninas96211/data/test_wav_set/id10296_f_k09R8r_cA_00004.wav --ckpt_file ./ckpt/model.ckpt-35000

After training 35000 steps using vox1 dataset, this model caught similarity between two waves from the same video clip, however in other cases, it was not successful. Currently this model using all 3 datasets(libri,vox1,vox2) is training and the result will be posted soon.
Python
98.7%
Shell
1.3%