Skip to content
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] can not generate test sample from yourtts #4075

Open
alikhabazian opened this issue Dec 14, 2024 · 1 comment
Open

[Bug] can not generate test sample from yourtts #4075

alikhabazian opened this issue Dec 14, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@alikhabazian
Copy link

alikhabazian commented Dec 14, 2024

Describe the bug

I add this code

import soundfile as sf
data = model.test_run(None)

for index in data["audios"].keys():
    audio_array=data["audios"][index]
    sf.write(f"{index}.wav", audio_array, SAMPLE_RATE)

instead of model.fit() in end of file train_yourtts,py
and use pretrained model to get inference but it generate trash sounds

To Reproduce

import soundfile as sf
data = model.test_run(None)

for index in data["audios"].keys():
    audio_array=data["audios"][index]
    sf.write(f"{index}.wav", audio_array, SAMPLE_RATE)

Expected behavior

No response

Logs

No response

Environment

- linux
- last version of github yourtts

Additional context

No response

@alikhabazian alikhabazian added the bug Something isn't working label Dec 14, 2024
@eginhard
Copy link
Contributor

Code is incomplete, but I answered in #4076

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants