From 9c716a39c369cafd7cbe50ab3198c1df59749149 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sun, 17 Nov 2019 19:00:12 -0800 Subject: [PATCH] updates --- train.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/train.py b/train.py index 832ce0c2..eb69ae1e 100644 --- a/train.py +++ b/train.py @@ -368,8 +368,7 @@ def train(): # save to cloud if opt.bucket: - os.system('gsutil cp %s gs://%s' % (fresults, opt.bucket)) - os.system('gsutil cp %s gs://%s' % (wdir + flast, opt.bucket)) + os.system('gsutil cp %s %s gs://%s' % (fresults, wdir + flast, opt.bucket)) plot_results() # save as results.png print('%g epochs completed in %.3f hours.\n' % (epoch - start_epoch + 1, (time.time() - t0) / 3600))