{"id":2696,"date":"2024-06-05T14:15:11","date_gmt":"2024-06-05T06:15:11","guid":{"rendered":"https:\/\/blog.md5.red\/?p=2696"},"modified":"2024-06-07T14:58:25","modified_gmt":"2024-06-07T06:58:25","slug":"pyannote-audio","status":"publish","type":"post","link":"http:\/\/blog.md5.red\/?p=2696","title":{"rendered":"pyannote.audio\u79bb\u7ebf\u90e8\u7f72"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/blog.md5.red\/wp-content\/uploads\/2024\/06\/68747470733a2f2f696d672e796f75747562652e636f6d2f76692f3337525f5238326c6677412f302e6a7067.jpg\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img decoding=\"async\" width=\"480\" height=\"360\" src=\"https:\/\/blog.md5.red\/wp-content\/uploads\/2024\/06\/68747470733a2f2f696d672e796f75747562652e636f6d2f76692f3337525f5238326c6677412f302e6a7067.jpg\" alt=\"\" class=\"wp-image-2697\" srcset=\"http:\/\/blog.md5.red\/wp-content\/uploads\/2024\/06\/68747470733a2f2f696d672e796f75747562652e636f6d2f76692f3337525f5238326c6677412f302e6a7067.jpg 480w, http:\/\/blog.md5.red\/wp-content\/uploads\/2024\/06\/68747470733a2f2f696d672e796f75747562652e636f6d2f76692f3337525f5238326c6677412f302e6a7067-300x225.jpg 300w\" sizes=\"(max-width: 480px) 100vw, 480px\" \/><\/a><\/figure>\n\n\n\n<p>\u9879\u76ee\u5730\u5740\uff1a<a href=\"https:\/\/github.com\/pyannote\/pyannote-audio\">https:\/\/github.com\/pyannote\/pyannote-audio<\/a><\/p>\n\n\n\n<p>\u79bb\u7ebf\u4f7f\u7528\uff1a<a href=\"https:\/\/github.com\/pyannote\/pyannote-audio\/blob\/develop\/tutorials\/community\/offline_usage_speaker_diarization.ipynb\">https:\/\/github.com\/pyannote\/pyannote-audio\/blob\/develop\/tutorials\/community\/offline_usage_speaker_diarization.ipynb<\/a><\/p>\n\n\n\n<p>\u5b9e\u6d4b\u6548\u679c\u975e\u5e38\u597d\uff0c\u6bd4FastWhisperGUI\u7528\u7684speechbrain\u597d\u5f88\u591a<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u6210\u529f\u5b9e\u73b0\u79bb\u7ebf\u90e8\u7f72\uff1a<\/p>\n\n\n\n<p>\u4e0b\u8f7d\uff1a<a href=\"https:\/\/huggingface.co\/pyannote\/wespeaker-voxceleb-resnet34-LM\/resolve\/main\/pytorch_model.bin\">https:\/\/huggingface.co\/pyannote\/wespeaker-voxceleb-resnet34-LM\/resolve\/main\/pytorch_model.bin<\/a> \u6539\u540d\u4e3amodels\/pyannote_model_wespeaker-voxceleb-resnet34-LM.bin<\/p>\n\n\n\n<p>\u4e0b\u8f7d<a href=\"https:\/\/huggingface.co\/pyannote\/segmentation-3.0\/resolve\/main\/pytorch_model.bin\">https:\/\/huggingface.co\/pyannote\/segmentation-3.0\/resolve\/main\/pytorch_model.bin<\/a>\u6539\u540d\u4e3amodels\/pyannote_model_segmentation-3.0.bin<\/p>\n\n\n\n<p>\u521b\u5efapyannote_diarization_config.yaml\u6587\u4ef6\uff0c\u5185\u5bb9\u4e3a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>version: 3.1.0\n\npipeline:\n  name: pyannote.audio.pipelines.SpeakerDiarization\n  params:\n    clustering: AgglomerativeClustering\n    # embedding: pyannote\/wespeaker-voxceleb-resnet34-LM  # if you want to use the HF model\n    embedding: models\/pyannote_model_wespeaker-voxceleb-resnet34-LM.bin  # if you want to use the local model\n    embedding_batch_size: 32\n    embedding_exclude_overlap: true\n    # segmentation: pyannote\/segmentation-3.0  # if you want to use the HF model\n    segmentation: models\/pyannote_model_segmentation-3.0.bin  # if you want to use the local model\n    segmentation_batch_size: 32\n\nparams:\n  clustering:\n    method: centroid\n    min_cluster_size: 12\n    threshold: 0.7045654963945799\n  segmentation:\n    min_duration_off: 0.0<\/code><\/pre>\n\n\n\n<p>\u5c06\u4e09\u4e2a\u6587\u4ef6\u653e\u5165models\u6587\u4ef6\u5939<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/blog.md5.red\/wp-content\/uploads\/2024\/06\/models.jpg\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img decoding=\"async\" width=\"847\" height=\"328\" src=\"https:\/\/blog.md5.red\/wp-content\/uploads\/2024\/06\/models.jpg\" alt=\"\" class=\"wp-image-2700\" style=\"width:480px;height:auto\" srcset=\"http:\/\/blog.md5.red\/wp-content\/uploads\/2024\/06\/models.jpg 847w, http:\/\/blog.md5.red\/wp-content\/uploads\/2024\/06\/models-300x116.jpg 300w, http:\/\/blog.md5.red\/wp-content\/uploads\/2024\/06\/models-768x297.jpg 768w\" sizes=\"(max-width: 847px) 100vw, 847px\" \/><\/a><\/figure>\n\n\n\n<p>\u6d4b\u8bd5\u4ee3\u7801\u9a8c\u8bc1\u901a\u8fc7<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><a href=\"https:\/\/blog.md5.red\/wp-content\/uploads\/2024\/06\/testoffline.jpg\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img decoding=\"async\" width=\"808\" height=\"505\" src=\"https:\/\/blog.md5.red\/wp-content\/uploads\/2024\/06\/testoffline.jpg\" alt=\"\" class=\"wp-image-2703\" style=\"width:593px;height:auto\" srcset=\"http:\/\/blog.md5.red\/wp-content\/uploads\/2024\/06\/testoffline.jpg 808w, http:\/\/blog.md5.red\/wp-content\/uploads\/2024\/06\/testoffline-300x188.jpg 300w, http:\/\/blog.md5.red\/wp-content\/uploads\/2024\/06\/testoffline-768x480.jpg 768w\" sizes=\"(max-width: 808px) 100vw, 808px\" \/><\/a><\/figure>\n\n\n\n<p>\u4e0d\u5b58\u5728<a href=\"https:\/\/blog.csdn.net\/qq_44193969\/article\/details\/136434417\">https:\/\/blog.csdn.net\/qq_44193969\/article\/details\/136434417<\/a>\u8fd9\u91cc\u7684\u95ee\u9898<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9879\u76ee\u5730\u5740\uff1ahttps:\/\/github.com\/pyannote\/pyannote-audio \u79bb\u7ebf\u4f7f\u7528\uff1aht ...<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"class_list":["post-2696","post","type-post","status-publish","format-standard","hentry","category-19"],"_links":{"self":[{"href":"http:\/\/blog.md5.red\/index.php?rest_route=\/wp\/v2\/posts\/2696","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.md5.red\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.md5.red\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.md5.red\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.md5.red\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2696"}],"version-history":[{"count":3,"href":"http:\/\/blog.md5.red\/index.php?rest_route=\/wp\/v2\/posts\/2696\/revisions"}],"predecessor-version":[{"id":2704,"href":"http:\/\/blog.md5.red\/index.php?rest_route=\/wp\/v2\/posts\/2696\/revisions\/2704"}],"wp:attachment":[{"href":"http:\/\/blog.md5.red\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2696"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.md5.red\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2696"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.md5.red\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}