From d9805d2fb6271e69ffabdfb8fbb0f0f139ae02e1 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Tue, 19 Nov 2019 12:42:12 -0800 Subject: [PATCH] updates --- train.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/train.py b/train.py index 4833eebf..325d32ac 100644 --- a/train.py +++ b/train.py @@ -317,6 +317,8 @@ def train(): # Write epoch results with open(results_file, 'a') as f: f.write(s + '%10.3g' * 7 % results + '\n') # P, R, mAP, F1, test_losses=(GIoU, obj, cls) + if len(opt.name) and opt.bucket and not opt.prebias: + os.system('gsutil cp %s gs://%s' % (results_file, opt.bucket)) # Write Tensorboard results if tb_writer: