mirror of
https://github.com/wassname/TTS.git
synced 2026-10-29 12:51:00 +08:00
bug fix
This commit is contained in:
1 parent
6a661f98e2
commit
4d1d04a6a0
1 file changed
+1
-1
@@ -237,7 +237,7 @@ def train(model, criterion, optimizer, optimizer_st, scheduler,
|
||||
# save model
|
||||
save_checkpoint(model, optimizer, global_step, epoch, model.decoder.r, OUT_PATH,
|
||||
optimizer_st=optimizer_st,
|
||||
model_loss=loss_dict['postnet_loss'].item())
|
||||
model_loss=loss_dict['postnet_loss'])
|
||||
|
||||
# Diagnostic visualizations
|
||||
const_spec = postnet_output[0].data.cpu().numpy()
|
||||
|
||||
Reference in new issue
Block a user