-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Path issue for get_conditioning_latents.py #83
Comments
Update: I was able to get this to work by hard-coding BUILTIN_VOICES_DIR (in audio.py) to the "non-egg" version of tortoise. The voices are not packaged in the egg. I think the voices linkage should point to the install root somehow. |
This was another packaging issue that should be resolved if you pull again from the tip and re-install. 480f7e3 is the fix. |
Thank you. I have a question about this, though. If the voices folder is included in the egg, where do we place custom voices we add ourselves? Is there a best practice for this somewhere I missed? |
@neonbjb Thank you for the "tip" on pulling from the latest commit :) that worked for do_tts.py. The issue I am having now is I can't run:
python3 tortoise/get_conditioning_latents.py --voice /home/srocke/tortoise-tts/tortoise/voices/myself (tried with various paths here)
I am receiving the following:
Traceback (most recent call last):
File "tortoise/get_conditioning_latents.py", line 20, in
voices = get_voices()
File "/home/srocke/anaconda3/lib/python3.7/site-packages/TorToiSe-2.4.1-py3.7.egg/tortoise/utils/audio.py", line 92, in get_voices
subs = os.listdir(d)
FileNotFoundError: [Errno 2] No such file or directory: '/home/srocke/anaconda3/lib/python3.7/site-packages/TorToiSe-2.4.1-py3.7.egg/tortoise/utils/../voices'
The text was updated successfully, but these errors were encountered: