updates
This commit is contained in:
parent
cd34368ec4
commit
4e8e39da93
1
train.py
1
train.py
|
@ -333,6 +333,7 @@ def train():
|
|||
del chkpt
|
||||
|
||||
# Report time
|
||||
plot_results() # save as results.png
|
||||
print('%g epochs completed in %.3f hours.' % (epoch - start_epoch + 1, (time.time() - t0) / 3600))
|
||||
dist.destroy_process_group() if torch.cuda.device_count() > 1 else None
|
||||
torch.cuda.empty_cache()
|
||||
|
|
Loading…
Reference in New Issue