This commit is contained in:
Glenn Jocher 2020-01-21 23:18:34 -08:00
parent 6ba6181534
commit 578e7f9500
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ def train():
with open(results_file, 'a') as f: with open(results_file, 'a') as f:
f.write(s + '%10.3g' * 7 % results + '\n') # P, R, mAP, F1, test_losses=(GIoU, obj, cls) f.write(s + '%10.3g' * 7 % results + '\n') # P, R, mAP, F1, test_losses=(GIoU, obj, cls)
if len(opt.name) and opt.bucket: if len(opt.name) and opt.bucket:
os.system('gsutil cp results.txt gs://%s/results%s.txt' % (opt.bucket, opt.name)) os.system('gsutil cp results.txt gs://%s/results/results%s.txt' % (opt.bucket, opt.name))
# Write Tensorboard results # Write Tensorboard results
if tb_writer: if tb_writer: