10000 Fix minor bug · ivanGitHub/lemniscate.pytorch@a33afe5 · GitHub
[go: up one dir, main page]

Skip to content

Commit a33afe5

Browse files
authored
Fix minor bug
1 parent c5f1bd1 commit a33afe5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,9 +242,9 @@ def train(train_loader, model, lemniscate, criterion, optimizer, epoch):
242242
print('Epoch: [{0}][{1}/{2}]\t'
243243
'Time {batch_time.val:.3f} ({batch_time.avg:.3f})\t'
244244
'Data {data_time.val:.3f} ({data_time.avg:.3f})\t'
245-
'Loss {loss.val:.4f} ({loss.avg:.4f})\t').format(
245+
'Loss {loss.val:.4f} ({loss.avg:.4f})\t'.format(
246246
epoch, i, len(train_loader), batch_time=batch_time,
247-
data_time=data_time, loss=losses)
247+
data_time=data_time, loss=losses))
248248

249249

250250
def save_checkpoint(state, is_best, filename='checkpoint.pth.tar'):

0 commit comments

Comments
 (0)
0