Repository navigation
refactor: use finetune_mode in config - #51
Merged
Merged
Conversation
add backwards compatibility
joanise
approved these changes
Nov 27, 2026
| description="If True, load only model parameters from a checkpoint (skip optimizer state and epoch number).", | ||
| ) | ||
|
|
||
| # TODO: remove in the release after finetune_mode was added |
Member
There was a problem hiding this comment.
I'm not sure I agree with this TODO here. Is there any harm in preserving auto-conversion capability with warnings in the long term? That's been our approach whenever auto-conversion remains possible to calculate.
Member
Author
There was a problem hiding this comment.
you're right, I don't think it's a bad thing to keep it actually. I'll remove this todo
| raise ValueError( | ||
| f"'{path}' isn't an EveryVoice StyleTTS2 checkpoint: it has no " | ||
| "'state_dict' and 'hyper_parameters' config. Checkpoints from the " | ||
| "original StyleTTS2 code need to be converted first." |
Member
There was a problem hiding this comment.
Do we offer a simple way to do this conversion, and if so can you hint at it here?
Member
Author
There was a problem hiding this comment.
I'm thinking of trying to write a script that does the conversion, but until I do that, and link to it in the docs, I may as well just remove this line
makes code DRYer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
EveryVoiceTTS/EveryVoice#923