updates
This commit is contained in:
parent
e97cc07715
commit
a812b1f8b1
2
train.py
2
train.py
|
@ -312,7 +312,7 @@ def train(cfg,
|
||||||
|
|
||||||
# Report time
|
# Report time
|
||||||
print('%g epochs completed in %.3f hours.' % (epoch - start_epoch + 1, (time.time() - t0) / 3600))
|
print('%g epochs completed in %.3f hours.' % (epoch - start_epoch + 1, (time.time() - t0) / 3600))
|
||||||
|
del model, optimizer
|
||||||
return results
|
return results
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue