Skip to content

Commit

Permalink
Update train.py (ultralytics#3099)
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher committed May 10, 2021
1 parent 525f4f8 commit 60fe544
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions train.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 60fe544

Please sign in to comment.