updates
This commit is contained in:
parent
5a34d3c9ab
commit
a8596c6af4
2
train.py
2
train.py
|
@ -317,7 +317,7 @@ def train(cfg,
|
|||
|
||||
# Report time
|
||||
print('%g epochs completed in %.3f hours.' % (epoch - start_epoch + 1, (time.time() - t0) / 3600))
|
||||
del model, optimizer, loss, dataset, dataloader, scaled_loss, scheduler
|
||||
del model, optimizer, loss, dataset, dataloader, scheduler
|
||||
torch.cuda.empty_cache()
|
||||
return results
|
||||
|
||||
|
|
Loading…
Reference in New Issue