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

fix(xtts): clearer error message when file given to checkpoint_dir #184

Merged
merged 2 commits into from
Dec 6, 2024

Conversation

eginhard
Copy link
Member

@eginhard eginhard commented Dec 2, 2024

The XTTS load_checkpoint() method accepts both checkpoint_dir and checkpoint_path arguments, in that order. It's easy to call it with load_checkpoint("model.pth") by mistake. Now a clear error message is shown in that case, suggesting to use load_checkpoint(checkpoint_path="model.pth") instead.

@eginhard eginhard requested a review from KarlHajal December 2, 2024 22:34
@eginhard eginhard marked this pull request as draft December 5, 2024 13:44
@eginhard eginhard marked this pull request as ready for review December 5, 2024 20:00
@eginhard eginhard merged commit e8d99aa into dev Dec 6, 2024
35 checks passed
@eginhard eginhard deleted the xtts-error branch December 6, 2024 05:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants