File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ' )
You can’t perform that action at this time.
0 commit comments