本地部署VoiceprintRecognition-Pytorch声纹识别服务

项目地址:
https://github.com/yeyupiaoling/VoiceprintRecognition-Pytorch

1、创建虚拟环境

conda create -n voiceprint python=3.11 -y && conda activate voiceprint

2、克隆项目文件

git clone https://githubfast.com/yeyupiaoling/VoiceprintRecognition-Pytorch.git

cd VoiceprintRecognition-Pytorch

3、安装依赖库


conda install pytorch==2.4.0 torchvision==0.19.0 torchaudio==2.4.0 pytorch-cuda=11.8 -c pytorch -c nvidia

python -m pip install mvector -U -i https://pypi.tuna.tsinghua.edu.cn/simple

pip install . -i https://pypi.tuna.tsinghua.edu.cn/simple


4、(百度网盘中)下载模型及配置文件:

models/CAMPPlus_Fbank/best_model/
configs/cam++.yml

5、运行识别代码:

python infer_speaker_diarization_gui.py

 

评论

此博客中的热门博文

通过命令行在Github上发布项目的新版本

利用GitHub免费的静态页面托管空间发布网页

本地部署OpenAvatarChat实时交互数字人系统