-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] bark throws an error _pickle.UnpicklingError: invalid load key, '<'. #3567
Comments
same here |
me too...
@chigkim may I ask you what's the command you used to print that nice env tree above? |
I fixed it by downloading text_2.pt manually from here. You'll need to delete or overwrite the old, broken one. |
I deleted the whole local Coqui repository and cloned Bark from its official repository. It's well maintained and works straight out of the box. Same goes for with XTTSv2, for which I'm now using this greatly optimized implementation https://github.com/daswer123/xtts-webui which also comes with a great UI and additional features to improve even further the audio quality. This also worked out of the box. UPDATE: as for XTTSv2, this seems even more advanced: https://github.com/erew123/alltalk_tts |
Thanks @aroslanov - I downloaded all .pt files and got it working. The invalid load key, '<' error means those files are HTML files for 404 not found page at Hugging Face and they all start with |
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. |
Some files are corrupted. Download them manually from https://huggingface.co/suno/bark/tree/main |
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
When trying to use Bark, it throws an error after downloading it.
To Reproduce
from TTS.api import TTS
tts = TTS('tts_models/multilingual/multi-dataset/bark')
Expected behavior
It should just download and initialize.
Logs
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: