diff --git a/examples/ami/README.md b/examples/ami/README.md index 8d2ed5183d3e4a2b65a631530f84e6289128d5d8..a038eaebe5803b11ac1347043c6348f7bdbe59e7 100644 --- a/examples/ami/README.md +++ b/examples/ami/README.md @@ -1,13 +1,3 @@ # Speaker Diarization on AMI corpus -## About the AMI corpus: -"The AMI Meeting Corpus consists of 100 hours of meeting recordings. The recordings use a range of signals synchronized to a common timeline. These include close-talking and far-field microphones, individual and room-view video cameras, and output from a slide projector and an electronic whiteboard. During the meetings, the participants also have unsynchronized pens available to them that record what is written. The meetings were recorded in English using three different rooms with different acoustic properties, and include mostly non-native speakers." See [ami overview](http://groups.inf.ed.ac.uk/ami/corpus/overview.shtml) for more details. - -## About the example -The script performs diarization using x-vectors(TDNN,ECAPA-TDNN) on the AMI mix-headset data. We demonstrate the use of different clustering methods: AHC, spectral. - -## How to Run -Use the following command to run diarization on AMI corpus. -`bash ./run.sh` - -## Results (DER) coming soon! :) \ No newline at end of file +* sd0 - speaker diarization by AHC,SC base on x-vectors diff --git a/examples/ami/diarization/.gitignore b/examples/ami/sd0/.gitignore similarity index 100% rename from examples/ami/diarization/.gitignore rename to examples/ami/sd0/.gitignore diff --git a/examples/ami/sd0/README.md b/examples/ami/sd0/README.md new file mode 100644 index 0000000000000000000000000000000000000000..ffe95741ac447670fa88bc3c4d723c2802f6b450 --- /dev/null +++ b/examples/ami/sd0/README.md @@ -0,0 +1,13 @@ +# Speaker Diarization on AMI corpus + +## About the AMI corpus: +"The AMI Meeting Corpus consists of 100 hours of meeting recordings. The recordings use a range of signals synchronized to a common timeline. These include close-talking and far-field microphones, individual and room-view video cameras, and output from a slide projector and an electronic whiteboard. During the meetings, the participants also have unsynchronized pens available to them that record what is written. The meetings were recorded in English using three different rooms with different acoustic properties, and include mostly non-native speakers." See [ami overview](http://groups.inf.ed.ac.uk/ami/corpus/overview.shtml) for more details. + +## About the example +The script performs diarization using x-vectors(TDNN,ECAPA-TDNN) on the AMI mix-headset data. We demonstrate the use of different clustering methods: AHC, spectral. + +## How to Run +Use the following command to run diarization on AMI corpus. +`bash ./run.sh` + +## Results (DER) coming soon! :) diff --git a/examples/ami/diarization/local/ami_prepare.py b/examples/ami/sd0/local/ami_prepare.py similarity index 100% rename from examples/ami/diarization/local/ami_prepare.py rename to examples/ami/sd0/local/ami_prepare.py diff --git a/examples/ami/diarization/local/ami_splits.py b/examples/ami/sd0/local/ami_splits.py similarity index 100% rename from examples/ami/diarization/local/ami_splits.py rename to examples/ami/sd0/local/ami_splits.py diff --git a/examples/ami/diarization/local/data.sh b/examples/ami/sd0/local/data.sh similarity index 67% rename from examples/ami/diarization/local/data.sh rename to examples/ami/sd0/local/data.sh index da2c546d43fb2244c3e7189b1af57905835d3387..70f9295310e943b2cdf0ade7aae85f9214f06dd5 100755 --- a/examples/ami/diarization/local/data.sh +++ b/examples/ami/sd0/local/data.sh @@ -2,12 +2,13 @@ stage=1 -data_folder=/home/data/ami/amicorpus #e.g., /path/to/amicorpus/ -manual_annot_folder=/home/data/ami/ami_public_manual_1.6.2 #e.g., /path/to/ami_public_manual_1.6.2/ +TARGET_DIR=${MAIN_ROOT}/dataset/ami +data_folder=${TARGET_DIR}/amicorpus #e.g., /path/to/amicorpus/ +manual_annot_folder=${TARGET_DIR}/ami_public_manual_1.6.2 #e.g., /path/to/ami_public_manual_1.6.2/ -save_folder=results -ref_rttm_dir=results/ref_rttms -meta_data_dir=results/metadata +save_folder=${MAIN_ROOT}/dataset/ami/results +ref_rttm_dir=${save_folder}/ref_rttms +meta_data_dir=${save_folder}/metadata set=L @@ -23,8 +24,9 @@ if [ ${stage} -le 0 ]; then # so you need to use the chooser to indicate which ones you wish to download echo "Please follow https://groups.inf.ed.ac.uk/ami/download/ to download the data." echo "Annotations: AMI manual annotations v1.6.2 " - echo "Signals: Scenario Meetings/Non Scenario Meetings, some sessions recommended but not all" - echo "media streams: Headset mix, recommended first" + echo "Signals: " + echo "1) Select one or more AMI meetings: the IDs please follow ./ami_split.py" + echo "2) Select media streams: Just select Headset mix" exit 0; fi diff --git a/examples/ami/diarization/local/dataio.py b/examples/ami/sd0/local/dataio.py similarity index 100% rename from examples/ami/diarization/local/dataio.py rename to examples/ami/sd0/local/dataio.py diff --git a/examples/ami/diarization/path.sh b/examples/ami/sd0/path.sh similarity index 100% rename from examples/ami/diarization/path.sh rename to examples/ami/sd0/path.sh diff --git a/examples/ami/diarization/run.sh b/examples/ami/sd0/run.sh similarity index 100% rename from examples/ami/diarization/run.sh rename to examples/ami/sd0/run.sh diff --git a/examples/ami/diarization/utils b/examples/ami/sd0/utils similarity index 100% rename from examples/ami/diarization/utils rename to examples/ami/sd0/utils