This is the implementation of the following papers:
Singh, Prachi, Ganapathy, Sriram, "End-to-End Supervised Hierarchical Graph Clustering for Speaker Diarization", 2024 (paper)
Singh, Prachi, Kaul Amrit (2023)."Supervised Hierarchical Clustering using Graph Neural Networks for Speaker Diarization." Proceedings of ICASSP 2023. (paper)
The following packages are required to run the code.
The following pretrained models are provided.
$ git clone -b ESHARC git@github.com:prachiisc/SHARC.git
$ cd SHARC
$ conda create --name SHARC --file requirements.txt
$ conda activate SHARC
It is recommended to install pyannote in different environment to avoid clashes.
Install Kaldi. If you are a Kaldi novice, please consult the following for additional documentation:
$ local_dir="Full_path_of_cloned_repository"
$ KALDI_PATH=/path_of_kaldi_directory/kaldi
$ cd $local_dir
$ ln -sf $KALDI_PATH kaldi
$ . ./path.sh
$ ln -sf kaldi/egs/wsj/s5/steps . # steps dir
tools_diar/data. tools_diar/data/<datasetname>/wav.scp with your path of wavfiles.We include full recipes for reproducing the results for Voxconverse and AMI dataset:
The following scripts perform Speech activity detection (SAD/VAD), X-vector extraction, E-SHARC, E-SHARC-Ovp, VBx in different stages.
bash scripts/test_ami_main.sh
The following scripts perform Speech activity detection (SAD/VAD), X-vector extraction, E-SHARC, E-SHARC-Ovp, VBx in different stages.
bash scripts/test_vox_main.sh
We include full recipes for reproducing the results for Voxconverse and AMI dataset:
bash services/test_xvec_preprocess.sh <vox_set> nj
<vox_set> : vox_diar/vox_diar_test
nj : number of jobs [min(40,number of processors available)]
bash scripts/test_xvec_parallel.sh Vox
bash services/test_xvec_preprocess.sh <ami_set> nj
<ami_set> : ami_dev/ami_eval
nj : number of jobs [min(15,number of processors available)]
bash scripts/test_xvec_parallel.sh AMI
bash services/test_xvec_preprocess.sh <train_set> <nj>
bash scripts/train_xvec.sh <Vox/AMI>
If you are using the resource, please cite as follows:
@article{singh2024overlap,
title={End-to-End Supervised Hierarchical Graph Clustering for Speaker Diarization},
author={Singh, Prachi and Ganapathy, Sriram},
journal={arXiv preprint arXiv:2401.12850v2},
year={2024}
}
@INPROCEEDINGS{10095372,
author={Singh, Prachi and Kaul, Amrit and Ganapathy, Sriram},
booktitle={IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
title={Supervised Hierarchical Clustering Using Graph Neural Networks for Speaker Diarization},
year={2023},
volume={},
pages={1-5},
doi={10.1109/ICASSP49357.2023.10095372}}
If you have any comment or question, please contact prachisingh@iisc.ac.in
18 commits
Jupyter Notebook
56.9%
Python
25.0%
Perl
11.5%
Shell
6.6%
This is the implementation of the following papers:
Singh, Prachi, Ganapathy, Sriram, "End-to-End Supervised Hierarchical Graph Clustering for Speaker Diarization", 2024 (paper)
Singh, Prachi, Kaul Amrit (2023)."Supervised Hierarchical Clustering using Graph Neural Networks for Speaker Diarization." Proceedings of ICASSP 2023. (paper)
The following packages are required to run the code.
The following pretrained models are provided.
$ git clone -b ESHARC git@github.com:prachiisc/SHARC.git
$ cd SHARC
$ conda create --name SHARC --file requirements.txt
$ conda activate SHARC
It is recommended to install pyannote in different environment to avoid clashes.
Install Kaldi. If you are a Kaldi novice, please consult the following for additional documentation:
$ local_dir="Full_path_of_cloned_repository"
$ KALDI_PATH=/path_of_kaldi_directory/kaldi
$ cd $local_dir
$ ln -sf $KALDI_PATH kaldi
$ . ./path.sh
$ ln -sf kaldi/egs/wsj/s5/steps . # steps dir
tools_diar/data. tools_diar/data/<datasetname>/wav.scp with your path of wavfiles.We include full recipes for reproducing the results for Voxconverse and AMI dataset:
The following scripts perform Speech activity detection (SAD/VAD), X-vector extraction, E-SHARC, E-SHARC-Ovp, VBx in different stages.
bash scripts/test_ami_main.sh
The following scripts perform Speech activity detection (SAD/VAD), X-vector extraction, E-SHARC, E-SHARC-Ovp, VBx in different stages.
bash scripts/test_vox_main.sh
We include full recipes for reproducing the results for Voxconverse and AMI dataset:
bash services/test_xvec_preprocess.sh <vox_set> nj
<vox_set> : vox_diar/vox_diar_test
nj : number of jobs [min(40,number of processors available)]
bash scripts/test_xvec_parallel.sh Vox
bash services/test_xvec_preprocess.sh <ami_set> nj
<ami_set> : ami_dev/ami_eval
nj : number of jobs [min(15,number of processors available)]
bash scripts/test_xvec_parallel.sh AMI
bash services/test_xvec_preprocess.sh <train_set> <nj>
bash scripts/train_xvec.sh <Vox/AMI>
If you are using the resource, please cite as follows:
@article{singh2024overlap,
title={End-to-End Supervised Hierarchical Graph Clustering for Speaker Diarization},
author={Singh, Prachi and Ganapathy, Sriram},
journal={arXiv preprint arXiv:2401.12850v2},
year={2024}
}
@INPROCEEDINGS{10095372,
author={Singh, Prachi and Kaul, Amrit and Ganapathy, Sriram},
booktitle={IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
title={Supervised Hierarchical Clustering Using Graph Neural Networks for Speaker Diarization},
year={2023},
volume={},
pages={1-5},
doi={10.1109/ICASSP49357.2023.10095372}}
If you have any comment or question, please contact prachisingh@iisc.ac.in
18 commits
Jupyter Notebook
56.9%
Python
25.0%
Perl
11.5%
Shell
6.6%