This commit is contained in:
Glenn Jocher 2020-01-12 16:18:29 -08:00
parent 5ac3eb42b6
commit 33264f5567
1 changed files with 2 additions and 1 deletions

View File

@ -383,6 +383,7 @@ def train():
if opt.bucket:
os.system('gsutil cp %s %s gs://%s' % (fresults, wdir + flast, opt.bucket))
if not opt.evolve:
plot_results() # save as results.png
print('%g epochs completed in %.3f hours.\n' % (epoch - start_epoch + 1, (time.time() - t0) / 3600))
dist.destroy_process_group() if torch.cuda.device_count() > 1 else None