Skip to content

Conversation

@Artrajz
Copy link

@Artrajz Artrajz commented Apr 20, 2023

Hi! Thank you for your project!
I found an error while using it with single speaker model. When n_speakers = 1, it occurs error: AttributeError: 'SynthesizerTrn' object has no attribute 'emb_g'
I modified if n_speakers > 1: to if n_speakers >= 1: then it works.

fix:single role model occur error
@Artrajz Artrajz changed the title Update models.py fix:single role model occur error Apr 20, 2023
@Artrajz Artrajz changed the title fix:single role model occur error fix: Single speaker model occurs error Apr 20, 2023
@DogeLord081
Copy link

@CjangCjengh Hi have you had time to consider this yet?

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