updates
This commit is contained in:
parent
c14ea59c71
commit
2950f4c816
2
train.py
2
train.py
|
@ -318,7 +318,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 and not opt.prebias:
|
if len(opt.name) and opt.bucket and not opt.prebias:
|
||||||
os.system('gsutil cp results%s.txt gs://%s' % (opt.name, opt.bucket))
|
os.system('gsutil cp results.txt gs://%s/results%s.txt' % (opt.bucket, opt.name))
|
||||||
|
|
||||||
# Write Tensorboard results
|
# Write Tensorboard results
|
||||||
if tb_writer:
|
if tb_writer:
|
||||||
|
|
Loading…
Reference in New Issue