mirror of
https://github.com/wassname/TTS.git
synced 2026-09-11 12:00:24 +08:00
some more tests for model saving
This commit is contained in:
@@ -60,7 +60,7 @@ def _trim_model_state_dict(state_dict):
|
||||
return new_state_dict
|
||||
|
||||
|
||||
def save_checkpoint(model, optimizer, model_loss, best_loss, out_path,
|
||||
def save_checkpoint(model, optimizer, model_loss, out_path,
|
||||
current_step, epoch):
|
||||
checkpoint_path = 'checkpoint_{}.pth.tar'.format(current_step)
|
||||
checkpoint_path = os.path.join(out_path, checkpoint_path)
|
||||
|
||||
Reference in New Issue
Block a user