You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
what i run finetune code for tts v2
i get this error
from TTS.tts.layers.xtts.trainer.gpt_trainer import GPTArgs, GPTTrainer, GPTTrainerConfig, XttsAudioConfig
File "/home/user/workspace/dataset/TTS/venv/lib/python3.11/site-packages/TTS/tts/layers/xtts/trainer/gpt_trainer.py", line 15, in
from TTS.tts.layers.tortoise.arch_utils import TorchMelSpectrogram
File "/home/user/workspace/dataset/TTS/venv/lib/python3.11/site-packages/TTS/tts/layers/tortoise/arch_utils.py", line 10, in
from transformers import LogitsWarper
ImportError: cannot import name 'LogitsWarper' from 'transformers' (/home/user/workspace/dataset/TTS/venv/lib/python3.11/site-packages/transformers/init.py)
Traceback (most recent call last):
File "/home/user/workspace/dataset/xtts-fa/train_xtts.py", line 11, in
from TTS.tts.layers.xtts.trainer.gpt_trainer import GPTArgs, GPTTrainer, GPTTrainerConfig, XttsAudioConfig
File "/home/user/workspace/dataset/TTS/venv/lib/python3.11/site-packages/TTS/tts/layers/xtts/trainer/gpt_trainer.py", line 15, in
from TTS.tts.layers.tortoise.arch_utils import TorchMelSpectrogram
File "/home/user/workspace/dataset/TTS/venv/lib/python3.11/site-packages/TTS/tts/layers/tortoise/arch_utils.py", line 10, in
from transformers import LogitsWarper
ImportError: cannot import name 'LogitsWarper' from 'transformers' (/home/user/workspace/dataset/TTS/venv/lib/python3.11/site-packages/transformers/init.py)
Traceback (most recent call last):
File "/home/user/workspace/dataset/xtts-fa/train_xtts.py", line 11, in
from TTS.tts.layers.xtts.trainer.gpt_trainer import GPTArgs, GPTTrainer, GPTTrainerConfig, XttsAudioConfig
File "/home/user/workspace/dataset/TTS/venv/lib/python3.11/site-packages/TTS/tts/layers/xtts/trainer/gpt_trainer.py", line 15, in
from TTS.tts.layers.tortoise.arch_utils import TorchMelSpectrogram
File "/home/user/workspace/dataset/TTS/venv/lib/python3.11/site-packages/TTS/tts/layers/tortoise/arch_utils.py", line 10, in
from transformers import LogitsWarper
ImportError: cannot import name 'LogitsWarper' from 'transformers' (/home/user/workspace/dataset/TTS/venv/lib/python3.11/site-packages/transformers/init.py)
This repo is not maintained anymore and doesn't work with latest versions of Pytorch and transformers. You can use our fork instead, available via pip install coqui-tts
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You might also look our discussion channels.
Describe the bug
Hi
what i run finetune code for tts v2
i get this error
from TTS.tts.layers.xtts.trainer.gpt_trainer import GPTArgs, GPTTrainer, GPTTrainerConfig, XttsAudioConfig
File "/home/user/workspace/dataset/TTS/venv/lib/python3.11/site-packages/TTS/tts/layers/xtts/trainer/gpt_trainer.py", line 15, in
from TTS.tts.layers.tortoise.arch_utils import TorchMelSpectrogram
File "/home/user/workspace/dataset/TTS/venv/lib/python3.11/site-packages/TTS/tts/layers/tortoise/arch_utils.py", line 10, in
from transformers import LogitsWarper
ImportError: cannot import name 'LogitsWarper' from 'transformers' (/home/user/workspace/dataset/TTS/venv/lib/python3.11/site-packages/transformers/init.py)
Traceback (most recent call last):
File "/home/user/workspace/dataset/xtts-fa/train_xtts.py", line 11, in
from TTS.tts.layers.xtts.trainer.gpt_trainer import GPTArgs, GPTTrainer, GPTTrainerConfig, XttsAudioConfig
File "/home/user/workspace/dataset/TTS/venv/lib/python3.11/site-packages/TTS/tts/layers/xtts/trainer/gpt_trainer.py", line 15, in
from TTS.tts.layers.tortoise.arch_utils import TorchMelSpectrogram
File "/home/user/workspace/dataset/TTS/venv/lib/python3.11/site-packages/TTS/tts/layers/tortoise/arch_utils.py", line 10, in
from transformers import LogitsWarper
ImportError: cannot import name 'LogitsWarper' from 'transformers' (/home/user/workspace/dataset/TTS/venv/lib/python3.11/site-packages/transformers/init.py)
Traceback (most recent call last):
File "/home/user/workspace/dataset/xtts-fa/train_xtts.py", line 11, in
from TTS.tts.layers.xtts.trainer.gpt_trainer import GPTArgs, GPTTrainer, GPTTrainerConfig, XttsAudioConfig
File "/home/user/workspace/dataset/TTS/venv/lib/python3.11/site-packages/TTS/tts/layers/xtts/trainer/gpt_trainer.py", line 15, in
from TTS.tts.layers.tortoise.arch_utils import TorchMelSpectrogram
File "/home/user/workspace/dataset/TTS/venv/lib/python3.11/site-packages/TTS/tts/layers/tortoise/arch_utils.py", line 10, in
from transformers import LogitsWarper
ImportError: cannot import name 'LogitsWarper' from 'transformers' (/home/user/workspace/dataset/TTS/venv/lib/python3.11/site-packages/transformers/init.py)
To Reproduce
run
https://github.com/coqui-ai/TTS/blob/dev/recipes/ljspeech/xtts_v2/train_gpt_xtts.py
script
Expected behavior
No response
Logs
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: