зеркало из https://github.com/mozilla/TTS.git
bug fix
This commit is contained in:
Родитель
7bc27fac82
Коммит
395da52dec
8
train.py
8
train.py
|
@ -78,8 +78,8 @@ def train(model, criterion, data_loader, optimizer, epoch):
|
|||
# setup input data
|
||||
text_input = data[0]
|
||||
text_lengths = data[1]
|
||||
linear_input = data[2]
|
||||
mel_input = data[3]
|
||||
linear_spec = data[2]
|
||||
mel_spec = data[3]
|
||||
mel_lengths = data[4]
|
||||
|
||||
current_step = num_iter + args.restore_step + \
|
||||
|
@ -227,8 +227,8 @@ def evaluate(model, criterion, data_loader, current_step):
|
|||
# setup input data
|
||||
text_input = data[0]
|
||||
text_lengths = data[1]
|
||||
linear_input = data[2]
|
||||
mel_input = data[3]
|
||||
linear_spec = data[2]
|
||||
mel_spec = data[3]
|
||||
mel_lengths = data[4]
|
||||
|
||||
# dispatch data to GPU
|
||||
|
|
Загрузка…
Ссылка в новой задаче