Giter Club home page Giter Club logo

Comments (1)

Serdcoff avatar Serdcoff commented on August 18, 2024

From my experience, I will add what I personally encountered.
In requirements.txt you have row with pyopenjtalk==0.2.0. There was a problem for me on env witho building the wheel. I added pyopenjtalk==0.2.0 --no-build-isolation and everything was good.
Also zoneinfo is required, but the supported version of python is >=3.9, but your app need 3.8. I had to change several files to "from backports.zoneinfo import zoneinfo" from "import zoneinfo"

Now I'm trying to run inference.ipynb to check the model but there was a problem with error

UPD. There was a problem with kernel. I fixed it, but another error is
UPD 2: Everything worx! Just was a problem with cuda 0,1. Changed to 1 device and it worx! Thank you very much for support. Now I'm ready to train to another language and make a multi-lingual speaker.

Using mel posterior encoder for VITS2
Multi-band iSTFT VITS2


RuntimeError Traceback (most recent call last)
Cell In[5], line 12
9 posterior_channels = hps.data.filter_length // 2 + 1
10 hps.data.use_mel_posterior_encoder = False
---> 12 net_g = SynthesizerTrn(
13 len(symbols),
14 posterior_channels,
15 hps.train.segment_size // hps.data.hop_length,
16 # n_speakers=hps.data.n_speakers, #- for multi speaker
17 **hps.model).to(device)
18 _ = net_g.eval()
20 _ = utils.load_checkpoint(path_to_model, net_g, None)

File ~/.local/lib/python3.8/site-packages/torch/nn/modules/module.py:970, in Module.to(self, *args, **kwargs)
883 def to(self, *args, **kwargs):
884 r"""Moves and/or casts the parameters and buffers.
885
886 This can be called as
(...)
967
968 """
--> 970 device, dtype, non_blocking, convert_to_format = torch._C._nn._parse_to(*args, **kwargs)
972 if dtype is not None:
973 if not (dtype.is_floating_point or dtype.is_complex):

RuntimeError: Invalid device string: 'cuda:0,1'

from mb-istft-vits2.

Related Issues (14)

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.