Update train.py (#3099)

This commit is contained in:
Glenn Jocher authored and GitHub committed 2021-05-10 15:26:23 +02:00
1 parent 525f4f86a9
commit 60fe54449d
1 file changed
-2
-2
View File
@@ -367,8 +367,6 @@ def train(hyp, opt, device, tb_writer=None):
# Write
with open(results_file, 'a') as f:
f.write(s + '%10.4g' * 7 % results + '\n') # append metrics, val_loss
if len(opt.name) and opt.bucket:
os.system('gsutil cp %s gs://%s/results/results%s.txt' % (results_file, opt.bucket, opt.name))
# Log
tags = ['train/box_loss', 'train/obj_loss', 'train/cls_loss', # train loss