Skip to content

Commit

Permalink
Update train.py
Browse files Browse the repository at this point in the history
Signed-off-by: Shayan Mousavinia <45814390+ShAmoNiA@users.noreply.github.com>
  • Loading branch information
ShAmoNiA committed Apr 26, 2023
1 parent 91218fc commit 0d91473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion train.py
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ def main(opt, callbacks=Callbacks()):
keys = ('metrics/precision', 'metrics/recall', 'metrics/mAP_0.5', 'metrics/mAP_0.5:0.95',
'val/box_loss', 'val/obj_loss', 'val/cls_loss')
print_mutation(keys, results, hyp.copy(), save_dir, opt.bucket)
fitness_scores.append(1)
fitness_scores.append(results[2])

# Select the fittest individuals for reproduction using adaptive tournament selection
selected_indices = []
Expand Down

0 comments on commit 0d91473

Please sign in to comment.