From 1c13688eb5f169ca6d09179898e1c7fa89c2d7ec Mon Sep 17 00:00:00 2001 From: Joshua Friedrich Date: Wed, 31 Mar 2021 17:01:27 +0200 Subject: [PATCH] Anpassung der Fitness-Gewichtung --- utils/metrics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/metrics.py b/utils/metrics.py index 666b8c7ec1c0..b8c0adee5b36 100644 --- a/utils/metrics.py +++ b/utils/metrics.py @@ -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)