Skip to content

Dev.ap/phone based models - #27

Merged
roedoejet merged 7 commits into
mainfrom
dev.ap/phone-based-models
Aug 28, 2026
Merged

Dev.ap/phone based models#27
roedoejet merged 7 commits into
mainfrom
dev.ap/phone-based-models

Conversation

@roedoejet

@roedoejet roedoejet commented Aug 28, 2026

Copy link
Copy Markdown
Member

Comment thread styletts2/cli/utils_heavy.py Outdated
)
from everyvoice.config.type_definitions import DatasetTextRepresentation
from everyvoice.model.feature_prediction.FastSpeech2_lightning.fs2.prediction_writing_callback import (
resolve_chunked_basename,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

urgh, cross import between submodules!? maybe we should considering refactoring this into everyvoice.base_cli?

Comment thread styletts2/utils.py


def encode_text_for_inference(
module,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a bit confusing to me that the model parameter to this function as well as to synthesize_audio_styletts2 (and other synthesis related functions in styletts2) is called module rather than model. I did some digging and I see they're defined in class StyleTTS2Module itself built on torch and/or lightning modules, as are other model classes. Is there a meaningful semantic difference here or did it just come from the upstream StyleTTS2 repo?

@joanise joanise left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally good. Moving the function that is now shared between fs2 and styletts2 into EV would be nice, but up to you, not required.

The module/model question, up to you if you want to change anything.

@roedoejet
roedoejet force-pushed the dev.ap/phone-based-models branch from 1736885 to 5732dc8 Compare August 28, 2026 22:20
@roedoejet
roedoejet force-pushed the dev.ap/phone-based-models branch from 5732dc8 to aacdc79 Compare August 28, 2026 22:26
@roedoejet
roedoejet merged commit aacdc79 into main Aug 28, 2026
2 checks passed
@roedoejet
roedoejet deleted the dev.ap/phone-based-models branch August 28, 2026 22:28
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