https://k2-fsa.github.io/sherpa/onnx/cuda.html # 根据自己的操作系统和python版本进行选择。例如是linux系统,python虚拟环境是3.10的python版本,则下载: sherpa_onnx-1.10.27+cuda-cp310-cp310-linux_x86_64.whl # 随后将该文件上传到项目,执行: pip install sherpa_onnx-1.10.27+cuda-cp310-cp310-li...
转换fishaudio/Bert-VITS2 2.1版本(仅适用2.1版本)训练后的模型pth文件为onnx,然后将onnx模型文件夹连同json文件放到onnx/models文件夹下。模型转换方法看下方。 修改配置文件 config.json,修改 onnx_tts_models_chinese_mark 字段为模型内角色名称的中文标志字符 如 角色名称:刻晴(原神-中文), 中文标志字符:"中文...
from onnx_modules import export_onnx import os if __name__ == "__main__": export_path = "BertVits2.2PT" model_path = "model\\G_0.pth" config_path = "model\\config.json" novq = False dev = False Extra = "chinese" # japanese or chinese if not os.path.exists("onnx"): ...
https://k2-fsa.github.io/sherpa/onnx/cuda.html # 根据自己的操作系统和python版本进行选择。例如是linux系统,python虚拟环境是3.10的python版本,则下载: sherpa_onnx-1.10.27+cuda-cp310-cp310-linux_x86_64.whl # 随后将该文件上传到项目,执行: pip install sherpa_onnx-1.10.27+cuda-cp310-cp310-li...
pip install sherpa_onnx-1.10.27+cuda-cp310-cp310-linux_x86_64.whl ``` #二、模型、数据准备 以微调一个 aishell3中文语音数据集的SSB0005说话人为案例。 需要准备bert模型、vits模型、WAVLM模型、SSB0005说话人的语音。 CN境内的服务器,建议利用hlf.sh下载。hlf.sh的使用方式是:bashhlf.shhuggingface模型...
onnx_modules [pre-commit.ci] pre-commit autoupdate (#315) 1年前 slm/wavlm-base-plus Fix: support infer 2.2 models (#244) 1年前 text [pre-commit.ci] pre-commit autoupdate (#315) 1年前 tools [pre-commit.ci] pre-commit autoupdate (#315) ...
export_onnx.py Support 2.1NoVQ Onnx and 2.2 NoVQ Onnx 1年前 hiyoriUI.py Update modules.py (#256) 1年前 infer.py Fix: infer.py 修正旧版本推理 (#248) 1年前 losses.py Update losses.py 1年前 mel_processing.py Update mel_processing.py 1年前 models.py Fix:...
This branch is up to date with fishaudio/Bert-VITS2:master.Folders and files Latest commit Cannot retrieve latest commit at this time. History635 Commits .github/workflows bert configs css emotional filelists for_deploy img monotonic_align oldVersion onnx_modules slm/wavlm-base...
attentions_onnx.FFT( hidden_channels, filter_channels, n_heads, n_layers, kernel_size, p_dropout, isflow=True, gin_channels=self.gin_channels, ) if share_parameter else None ) for i in range(n_flows): self.flows.append( modules.TransformerCouplingLayer( channels, hidde...
export_onnx.py [pre-commit.ci] pre-commit autoupdate (#343) 12个月前 gen.py gen 7个月前 hiyoriUI.py [pre-commit.ci] pre-commit autoupdate (#315) 1年前 infer.py [pre-commit.ci] pre-commit autoupdate (#315) 1年前 losses.py Update losses.py 1年前 mel_...