cleanup train.py

This commit is contained in:
Glenn Jocher 2018-10-09 19:28:27 +02:00
parent 0cc8f2be01
commit e7cd5d01c4
1 changed files with 2 additions and 2 deletions

View File

@ -156,8 +156,8 @@ def main(opt):
s = ('%10s%10s' + '%10.3g' * 14) % (
'%g/%g' % (epoch, opt.epochs - 1), '%g/%g' % (i, len(dataloader) - 1), rloss['x'],
rloss['y'], rloss['w'], rloss['h'], rloss['conf'], rloss['cls'],
rloss['loss'], mean_precision, mean_recall, model.losses['nT'], TP.sum(),
FP.sum(), FN.sum(), time.time() - t1)
rloss['loss'], mean_precision, mean_recall, model.losses['nT'], rloss['TP'],
rloss['FP'], rloss['FN'], time.time() - t1)
t1 = time.time()
print(s)