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: Single speaker model occurs error #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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