Skip to content

Commit

Permalink
Anpassung der Fitness-Gewichtung
Browse files Browse the repository at this point in the history
  • Loading branch information
Lechtr committed Mar 31, 2021
1 parent 573eba7 commit 1c13688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

def fitness(x):
# Model fitness as a weighted combination of metrics
w = [0.0, 0.0, 0.1, 0.9] # weights for [P, R, mAP@0.5, mAP@0.5:0.95]
w = [0.0, 0.0, 0.9, 0.1] # weights for [P, R, mAP@0.5, mAP@0.5:0.95]
return (x[:, :4] * w).sum(1)


Expand Down

0 comments on commit 1c13688

Please sign in to comment.