Closed eloop001 closed 1 year ago
git clone https://github.com/152334H/BigVGAN cd BigVGAN pip install -e . cd ..
Thanks. It works :-) BTW, I just found your repo. I have tried for a week to get the original tortoise to run faster. Thanks for all the splendid work you have done. Looking forward to contribute.
please solve my problem:
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ D:\Experiments\tortoise-tts-fast\scripts\tortoise_tts.py:223 in
same as #44, dumb thing on my part I have fixed.
The pytorchstreamreader thing is a voicefixer problem. Run ~/.cache/voicefixer/analysis_module/checkpoints/vf.ckpt
to nuke the corrupted checkpoint file.
I get the error below. Totally clean install 3.10.2 of python on a VM. I followed the install instructions. It seems it cannot reference the BigGAN lib even though its in the correct folder,¨ `─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ /root/tortoise-tts-fast/tortoise/models/vocoder.py:10 in │
│ │
│ 7 from typing import Optional, Callable │
│ 8 from dataclasses import dataclass │
│ 9 try: │
│ ❱ 10 │ from BigVGAN.models import BigVGAN as BVGModel │
│ 11 │ from BigVGAN.env import AttrDict │
│ 12 except ImportError: │
│ 13 │ raise ImportError( │
│ │
│ /root/tortoise-tts-fast/BigVGAN/models.py:14 in │
│ │
│ 11 from torch.nn import Conv1d, ConvTranspose1d, Conv2d │
│ 12 from torch.nn.utils import weight_norm, remove_weight_norm, spectral_norm │
│ 13 │
│ ❱ 14 import activations │
│ 15 from utils import init_weights, get_padding │
│ 16 from alias_free_torch import * │
│ 17 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
ModuleNotFoundError: No module named 'activations'
During handling of the above exception, another exception occurred:
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ /root/tortoise-tts-fast/scripts/tortoise_tts.py:15 in │
│ │
│ 12 import torchaudio │
│ 13 from simple_parsing import ArgumentParser, field │
│ 14 │
│ ❱ 15 from tortoise.api import MODELS_DIR, TextToSpeech │
│ 16 from tortoise.utils.audio import load_audio │
│ 17 from tortoise.utils.diffusion import SAMPLERS │
│ 18 from tortoise.models.vocoder import VocConf │
│ │
│ /root/tortoise-tts-fast/tortoise/api.py:19 in │
│ │
│ 16 from tortoise.models.cvvp import CVVP │
│ 17 from tortoise.models.diffusion_decoder import DiffusionTts │
│ 18 from tortoise.models.random_latent_generator import RandomLatentConverter │
│ ❱ 19 from tortoise.models.vocoder import VocConf │
│ 20 from tortoise.utils.audio import denormalize_tacotron_mel, wav_to_univnet_mel │
│ 21 from tortoise.utils.diffusion import ( │
│ 22 │ SpacedDiffusion, │
│ │
│ /root/tortoise-tts-fast/tortoise/models/vocoder.py:13 in │
│ │
│ 10 │ from BigVGAN.models import BigVGAN as BVGModel │
│ 11 │ from BigVGAN.env import AttrDict │
│ 12 except ImportError: │
│ ❱ 13 │ raise ImportError( │
│ 14 │ │ "BigVGAN not installed, can't use BigVGAN vocoder\n" │
│ 15 │ │ "Please see the installation instructions on README." │
│ 16 │ ) │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
ImportError: BigVGAN not installed, can't use BigVGAN vocoder
Please see the installation instructions on README.`