Commit
·
98fc483
1
Parent(s):
01a67a9
train.py results.txt to bucket bug fix
Browse files
train.py
CHANGED
@@ -303,7 +303,7 @@ def train(hyp):
|
|
303 |
with open(results_file, 'a') as f:
|
304 |
f.write(s + '%10.4g' * 7 % results + '\n') # P, R, mAP, F1, test_losses=(GIoU, obj, cls)
|
305 |
if len(opt.name) and opt.bucket:
|
306 |
-
os.system('gsutil cp
|
307 |
|
308 |
# Tensorboard
|
309 |
if tb_writer:
|
|
|
303 |
with open(results_file, 'a') as f:
|
304 |
f.write(s + '%10.4g' * 7 % results + '\n') # P, R, mAP, F1, test_losses=(GIoU, obj, cls)
|
305 |
if len(opt.name) and opt.bucket:
|
306 |
+
os.system('gsutil cp %s gs://%s/results/results%s.txt' % (results_file, opt.bucket, opt.name))
|
307 |
|
308 |
# Tensorboard
|
309 |
if tb_writer:
|