From 7997be8bba6f42b3612ca81c0bce6028feac930c Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Wed, 11 Sep 2019 23:04:48 +0200 Subject: [PATCH] updates --- train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train.py b/train.py index e3d4eceb..fb3d0e4c 100644 --- a/train.py +++ b/train.py @@ -340,7 +340,7 @@ def train(): # Save last checkpoint 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 # Save best checkpoint