This commit is contained in:
Glenn Jocher 2019-09-11 23:04:48 +02:00
parent 81e5514f4f
commit 7997be8bba
1 changed files with 1 additions and 1 deletions

View File

@ -340,7 +340,7 @@ def train():
# Save last checkpoint # Save last checkpoint
torch.save(chkpt, last) torch.save(chkpt, last)
if opt.bucket: if opt.bucket and not opt.evolve:
os.system('gsutil cp %s gs://%s' % (last, opt.bucket)) # upload to bucket os.system('gsutil cp %s gs://%s' % (last, opt.bucket)) # upload to bucket
# Save best checkpoint # Save best checkpoint