This commit is contained in:
Glenn Jocher 2019-11-17 19:00:12 -08:00
parent a1151c04a7
commit 9c716a39c3
1 changed files with 1 additions and 2 deletions

View File

@ -368,8 +368,7 @@ def train():
# save to cloud # save to cloud
if opt.bucket: if opt.bucket:
os.system('gsutil cp %s gs://%s' % (fresults, opt.bucket)) os.system('gsutil cp %s %s gs://%s' % (fresults, wdir + flast, opt.bucket))
os.system('gsutil cp %s gs://%s' % (wdir + flast, opt.bucket))
plot_results() # save as results.png plot_results() # save as results.png
print('%g epochs completed in %.3f hours.\n' % (epoch - start_epoch + 1, (time.time() - t0) / 3600)) print('%g epochs completed in %.3f hours.\n' % (epoch - start_epoch + 1, (time.time() - t0) / 3600))