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

关于hparams包 #9

Open
lgf821793883 opened this issue May 18, 2021 · 2 comments
Open

关于hparams包 #9

lgf821793883 opened this issue May 18, 2021 · 2 comments

Comments

@lgf821793883
Copy link

Traceback (most recent call last):
File "synthesize.py", line 7, in
from fastspeech2 import FastSpeech2
File "F:\project\mandarin-tts-master\fastspeech2.py", line 5, in
from transformer.Models import Encoder, Decoder
File "F:\project\mandarin-tts-master\transformer_init_.py", line 5, in
import transformer.Models
File "F:\project\mandarin-tts-master\transformer\Models.py", line 33, in
class Encoder(nn.Module):
File "F:\project\mandarin-tts-master\transformer\Models.py", line 39, in Encoder
len_max_seq=hp.max_seq_len,
AttributeError: module 'hparams' has no attribute 'max_seq_len'

请问这个问题怎么解决,版本也试过好几个了,不太行。

@ranchlai
Copy link
Owner

后续代码会重构,可以保持关注。 我打算建一个语音的纯技术交流群~~统一回答问题

@lgf821793883
Copy link
Author

好 ,群号发一下

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

2 participants