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 · 2 comments
Open

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

alikhabazian opened this issue Dec 14, 2024 · 2 comments
Labels
bug Something isn't working wontfix This will not be worked on but feel free to help.

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

Copy link

stale bot commented Jan 18, 2025

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.

@stale stale bot added the wontfix This will not be worked on but feel free to help. label Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on but feel free to help.
Projects
None yet
Development

No branches or pull requests

2 participants