Skip to content

Commit

Permalink
Update train.py (ultralytics#3099)
Browse files Browse the repository at this point in the history
(cherry picked from commit 60fe544)
  • Loading branch information
glenn-jocher authored and Lechtr committed May 24, 2021
1 parent fdf6dd8 commit a916913
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 @@ -403,8 +403,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
fi = fitness(np.array(results).reshape(1, -1)) # weighted combination of [P, R, mAP@.5, mAP@.5-.95]
Expand Down

0 comments on commit a916913

Please sign in to comment.