Skip to content

Commit d15f48b

Browse files
authored
fix some typos
1 parent 27a3672 commit d15f48b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

train_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,12 +321,12 @@ def train():
321321
load_t1 = time.time()
322322
if iteration % 10 == 0:
323323
print('Epoch:' + repr(epoch) + ' || epochiter: ' + repr(iteration % epoch_size) + '/' + repr(epoch_size)
324-
+ '|| Totel iter ' +
324+
+ '|| Total iter ' +
325325
repr(iteration) + ' || L: %.4f C: %.4f||' % (
326326
mean_loss_l/10,mean_loss_c/10) +
327327
'Batch time: %.4f sec. ||' % (load_t1 - load_t0) + 'LR: %.8f' % (lr))
328328
log_file.write('Epoch:' + repr(epoch) + ' || epochiter: ' + repr(iteration % epoch_size) + '/' + repr(epoch_size)
329-
+ '|| Totel iter ' +
329+
+ '|| Total iter ' +
330330
repr(iteration) + ' || L: %.4f C: %.4f||' % (
331331
mean_loss_l/10,mean_loss_c/10) +
332332
'Batch time: %.4f sec. ||' % (load_t1 - load_t0) + 'LR: %.8f' % (lr)+'\n')

0 commit comments

Comments
 (0)