You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
请问这个问题怎么解决,版本也试过好几个了,不太行。
The text was updated successfully, but these errors were encountered:
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'
请问这个问题怎么解决,版本也试过好几个了,不太行。
The text was updated successfully, but these errors were encountered: