Giter VIP home page Giter VIP logo

vits's Introduction

本地推理版VITS

本仓库的代码和模型主要参考自:https://github.com/JOETtheIV/VITS-Paimon

本仓库对其进行简化和重构,使其可部署在本地,更易集成进其它项目中。

训练?训练是不会训练的,拿来推理就完事了!

目前支持

  • 派蒙语音

更多模型is coming...

使用

1.下载模型:https://pan.baidu.com/s/1aF6Q_rA5tBQv7YaU0jizuA?pwd=bya7

下载好,将模型放到model文件夹中,重命名为Paimon.pth

2.运行main.py,生成的结果会存放在results文件夹中。

vits's People

Contributors

zstar1003 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

kroyuak

vits's Issues

加载其他的模型会报维度错误,请问咋解决

Traceback (most recent call last):
File "/home/lxq/Desktop/VITS-main/main.py", line 21, in
utils.load_checkpoint('model/Paimon1.pth', model)
File "/home/lxq/Desktop/VITS-main/utils.py", line 42, in load_checkpoint
model.load_state_dict(new_state_dict)
File "/home/lxq/anaconda3/envs/tts-3.10/lib/python3.10/site-packages/torch/nn/modules/module.py", line 2041, in load_state_dict
raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format(
RuntimeError: Error(s) in loading state_dict for SynthesizerTrn:
size mismatch for enc_p.emb.weight: copying a param with shape torch.Size([52, 192]) from checkpoint, the shape in current model is torch.Size([178, 192]).

运行main.py报错

from .monotonic_align.core import maximum_path_c
ModuleNotFoundError: No module named 'monotonic_align.monotonic_align.core'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.