Coder Social home page Coder Social logo

Comments (20)

gitmylo avatar gitmylo commented on June 4, 2024 1

Could this be the fix for it?

coqui-ai/TTS#2697

it might be, try activating your virtual environment and running
pip install git+https://github.com/coqui-ai/TTS@dev --upgrade (not entirely sure if you'll need upgrade or pip uninstall TTS and then installing the git version)

from audio-webui.

gitmylo avatar gitmylo commented on June 4, 2024

the coqui TTS is just for general generations, so no, it does not have configs.

I am also unable to reproduce that error. I did see someone say they wanted to use tortoise v2 and had the same issue. not sure where the flag was that they were talking about

from audio-webui.

Ph0rk0z avatar Ph0rk0z commented on June 4, 2024

It's right where that error is. The strict=False has to be passed when loading the model. It maybe a problem with the coqui repo. I manually edited the file for myself. Does TTS python expose that so it can be set as a parameter?

In any case, tortoise here only uses one male voice. I even swapped my trained model for it and then it would do 1/2 in the trained voice and 1/2 in the voice of the dude. Tortoise would have to be done on it's own for max effect so I usually use mr_q ai voice cloning for that unless the TTS voice doesn't matter.

from audio-webui.

gitmylo avatar gitmylo commented on June 4, 2024

i don't know, as i have no issues loading tortoise v2 in coqui. i'm on windows 10, what OS are you on?

from audio-webui.

Ph0rk0z avatar Ph0rk0z commented on June 4, 2024

Linux Mint based on ubuntu 22.04

from audio-webui.

nekogecko2 avatar nekogecko2 commented on June 4, 2024

I'm using windows 11. But the same error happens when I run it with "linux" through WSL.

from audio-webui.

gitmylo avatar gitmylo commented on June 4, 2024

whoops, i misclicked

from audio-webui.

gitmylo avatar gitmylo commented on June 4, 2024

I'm not really sure why it works on my pc, but not on other people's pcs, as i have a clean install of TTS, and i didn't modify anything. yet it loads fine for me

from audio-webui.

Ph0rk0z avatar Ph0rk0z commented on June 4, 2024

Probably windows doesn't enforce strict dictionary loading.

from audio-webui.

gitmylo avatar gitmylo commented on June 4, 2024

but nekogecko2 is on windows, so that isn't it

from audio-webui.

Ph0rk0z avatar Ph0rk0z commented on June 4, 2024

Different versions of TTS? Would have to go through coqui github and see what happened with that. It's a problem for LLMs too. Dict slightly doesn't match and then it doesn't load at all.

from audio-webui.

gitmylo avatar gitmylo commented on June 4, 2024

I'm on version 0.14.3, which is currently the latest version on pypi

from audio-webui.

Ph0rk0z avatar Ph0rk0z commented on June 4, 2024

I think me too since I d/l it fairly recently. Back to square one.

from audio-webui.

nekogecko2 avatar nekogecko2 commented on June 4, 2024

Could this be the fix for it?

coqui-ai/TTS#2697

from audio-webui.

Ph0rk0z avatar Ph0rk0z commented on June 4, 2024

Makes too much sense. New transformers enforced more strictness. Instead of setting strict false they.. removed the extra keys.

from audio-webui.

gitmylo avatar gitmylo commented on June 4, 2024

¯\_(ツ)_/¯

from audio-webui.

Ph0rk0z avatar Ph0rk0z commented on June 4, 2024

Probably we were both using newer transformers which is why you didn't get this error.

from audio-webui.

gitmylo avatar gitmylo commented on June 4, 2024

Probably we were both using newer transformers which is why you didn't get this error.

That's still confusing to me, as I had deleted my venv and completely reinstalled before, and still didn't have the error, weird.

from audio-webui.

Ph0rk0z avatar Ph0rk0z commented on June 4, 2024

Well I will try to update TTS and see if it comes back.

from audio-webui.

nekogecko2 avatar nekogecko2 commented on June 4, 2024

it might be, try activating your virtual environment and running
pip install git+https://github.com/coqui-ai/TTS@dev --upgrade (not entirely sure if you'll need upgrade or pip uninstall TTS and then installing the git version)

Thanks! Uninstalling TTS first and then running

pip install git+https://github.com/coqui-ai/TTS@dev" worked!

For any other complete noobs like me, you "activate venv" by drag and dropping the "activate.bat" file to command prompt from \audio-webui\venv\Scripts\activate.bat

from audio-webui.

Related Issues (20)

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.