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 @@ -319,12 +319,12 @@ def train():
319319 load_t1 = time .time ()
320320 if iteration % 10 == 0 :
321321 print (args .version + 'Epoch:' + repr (epoch ) + ' || epochiter: ' + repr (iteration % epoch_size ) + '/' + repr (epoch_size )
322- + '|| Totel iter ' +
322+ + '|| Total iter ' +
323323 repr (iteration ) + ' || L: %.4f C: %.4f||' % (
324324 loss_l .data [0 ],loss_c .data [0 ]) +
325325 'Batch time: %.4f sec. ||' % (load_t1 - load_t0 ) + 'LR: %.8f' % (lr ))
326326 log_file .write ('Epoch:' + repr (epoch ) + ' || epochiter: ' + repr (iteration % epoch_size ) + '/' + repr (epoch_size )
327- + '|| Totel iter ' +
327+ + '|| Total iter ' +
328328 repr (iteration ) + ' || L: %.4f C: %.4f||' % (
329329 loss_l .data [0 ],loss_c .data [0 ]) +
330330 'Batch time: %.4f sec. ||' % (load_t1 - load_t0 ) + 'LR: %.8f' % (lr )+ '\n ' )
You can’t perform that action at this time.
0 commit comments