This commit is contained in:
Glenn Jocher 2019-11-19 18:47:22 -08:00
parent d94b6e88e3
commit d355e539d9
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ def train():
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))
os.system('gsutil cp results%s.txt gs://%s' % (opt.name, opt.bucket))
# Write Tensorboard results
if tb_writer: