logging fix

pull/10/head
Eren G 2018-07-18 14:32:45 +02:00
parent 7f75ff39df
commit ec297bf042
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ 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)
print("\n | > Checkpoint saving : {}".format(checkpoint_path))
print(" | | > Checkpoint saving : {}".format(checkpoint_path))
new_state_dict = _trim_model_state_dict(model.state_dict())
state = {'model': new_state_dict,