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

uttr = self.utterance_encoder(ys.transpose(1, 2)).transpose(1, 2) IndexError: Dimension out of range (expected to be in range of [-1, 0], but got 1) #4

Open
anigi98932 opened this issue Jun 2, 2021 · 4 comments

Comments

@anigi98932
Copy link

i got this error
uttr = self.utterance_encoder(ys.transpose(1, 2)).transpose(1, 2) IndexError: Dimension out of range (expected to be in range of [-1, 0], but got 1)

can you give me a advice how to fix this ?

thanks

@KinamSalad
Copy link

@rishikksh20 @anigi98932
In line 314 of fastspeech2.py, 3rd parameter ys is missed. you should insert ys in 3rd parameter.

And I also found that hp.model.phoneme_acoustic_embed is missed in config file. Please check this.

@Bhuvan-21
Copy link

I am facing the same issues and couldn't solve it with this, @KinamSalad
How did you solve this?

@yanzhuangzhuang-beep
Copy link

have you solved this problem?

@YoungChanYY
Copy link

@rishikksh20 @anigi98932 In line 314 of fastspeech2.py, 3rd parameter ys is missed. you should insert ys in 3rd parameter.

And I also found that hp.model.phoneme_acoustic_embed is missed in config file. Please check this.

Thanks for your suggestion that can solved this problem. @KinamSalad @yanzhuangzhuang-beep

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

No branches or pull requests

5 participants