This commit is contained in:
Glenn Jocher 2019-11-25 17:24:05 -10:00
parent 90cfb91858
commit 3c57ff7b1b
1 changed files with 1 additions and 0 deletions

View File

@ -212,6 +212,7 @@ def train():
torch_utils.model_info(model, report='summary') # 'full' or 'summary'
nb = len(dataloader)
maps = np.zeros(nc) # mAP per class
# torch.autograd.set_detect_anomaly(True)
results = (0, 0, 0, 0, 0, 0, 0) # 'P', 'R', 'mAP', 'F1', 'val GIoU', 'val Objectness', 'val Classification'
t0 = time.time()
print('Starting %s for %g epochs...' % ('prebias' if opt.prebias else 'training', epochs))