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
I am testing cloning but I am getting into an issue. This the code I am running
`
import torch
from TTS.api import TTS
tts = TTS(model_name="tts_models/en/ljspeech/tacotron2-DCA", progress_bar=True).device("cpu")
tts.tts_with_vc_to_file(
"Ciao Tesla how are you?",
speaker_wav="voices/testvoice/TeslaHaloBLKHaloStation_000.wav",
file_path="voices/cloning/TeslaHaloBLKHaloStation_000_cloned.wav"
)`
I am getting the following error:
File "/home/pi4/test/.venv/lib/python3.11/site-packages/torch/serialization.py", line 1007, in load with _open_zipfile_reader(opened_file) as opened_zipfile: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pi4/test/.venv/lib/python3.11/site-packages/torch/serialization.py", line 458, in __init__ super().__init__(torch._C.PyTorchFileReader(name_or_buffer)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory
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
I am testing cloning but I am getting into an issue. This the code I am running
`
import torch
from TTS.api import TTS
tts = TTS(model_name="tts_models/en/ljspeech/tacotron2-DCA", progress_bar=True).device("cpu")
tts.tts_with_vc_to_file(
"Ciao Tesla how are you?",
speaker_wav="voices/testvoice/TeslaHaloBLKHaloStation_000.wav",
file_path="voices/cloning/TeslaHaloBLKHaloStation_000_cloned.wav"
)`
I am getting the following error:
File "/home/pi4/test/.venv/lib/python3.11/site-packages/torch/serialization.py", line 1007, in load with _open_zipfile_reader(opened_file) as opened_zipfile: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pi4/test/.venv/lib/python3.11/site-packages/torch/serialization.py", line 458, in __init__ super().__init__(torch._C.PyTorchFileReader(name_or_buffer)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory
Any ideas?
To Reproduce
Not sure is possible
Expected behavior
Getting output waves
Logs
No response
Environment
Additional context
Testing on RPI4.
The text was updated successfully, but these errors were encountered: