VitsAudioConfig cannot be imported #1841
artificialnouveau
started this conversation in
General
Replies: 2 comments
-
|
Because |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thanks! I realize that now. It works.
Best Regards,
Ahnjili
… On Aug 9, 2022, at 12:53, p0p4k ***@***.***> wrote:
Because VitsAudioConfig is not implemented in v0.7.1.
Please download the dev branch.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I'm trying to train a Vits model, I have tried to import the Vits model in google colab in two ways:
First approach:
! pip install TTS==0.7.1import osfrom trainer import Trainer, TrainerArgsfrom TTS.tts.configs.shared_configs import BaseDatasetConfigfrom TTS.tts.configs.vits_config import VitsConfigfrom TTS.tts.datasets import load_tts_samplesfrom TTS.tts.models.vits import Vits, VitsAudioConfigfrom TTS.tts.utils.text.tokenizer import TTSTokenizerfrom TTS.utils.audio import AudioProcessorI get the following error:
ImportError: cannot import name 'VitsAudioConfig' from 'TTS.tts.models.vits' (/usr/local/lib/python3.7/dist-packages/TTS/tts/models/vits.py)Second approach:
! git clone https://github.com/coqui-ai/TTS%cd TTS! pip3 install -e%cdI get the following error:
ImportError: cannot import name 'VitsAudioConfig' from 'TTS.tts.models.vits' (/usr/local/lib/python3.7/dist-packages/TTS/tts/models/vits.py)How can I import the VitsAudioConfig?
Beta Was this translation helpful? Give feedback.
All reactions