updates
This commit is contained in:
parent
90cfb91858
commit
3c57ff7b1b
1
train.py
1
train.py
|
@ -212,6 +212,7 @@ def train():
|
||||||
torch_utils.model_info(model, report='summary') # 'full' or 'summary'
|
torch_utils.model_info(model, report='summary') # 'full' or 'summary'
|
||||||
nb = len(dataloader)
|
nb = len(dataloader)
|
||||||
maps = np.zeros(nc) # mAP per class
|
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'
|
results = (0, 0, 0, 0, 0, 0, 0) # 'P', 'R', 'mAP', 'F1', 'val GIoU', 'val Objectness', 'val Classification'
|
||||||
t0 = time.time()
|
t0 = time.time()
|
||||||
print('Starting %s for %g epochs...' % ('prebias' if opt.prebias else 'training', epochs))
|
print('Starting %s for %g epochs...' % ('prebias' if opt.prebias else 'training', epochs))
|
||||||
|
|
Loading…
Reference in New Issue