This commit is contained in:
Glenn Jocher 2019-09-11 21:25:26 +02:00
parent a1b50aaa43
commit 3f6df0fb28
1 changed files with 1 additions and 1 deletions

View File

@ -695,7 +695,7 @@ def print_mutation(hyp, results, bucket=''):
def fitness(x): def fitness(x):
# Returns fitness (for use with results.txt or evolve.txt) # Returns fitness (for use with results.txt or evolve.txt)
return x[:, 2] * 0.5 + x[:, 3] * 0.5 # weighted mAP and F1 combination return x[:, 2] * 0.7 + x[:, 3] * 0.3 # weighted mAP and F1 combination
# Plotting functions --------------------------------------------------------------------------------------------------- # Plotting functions ---------------------------------------------------------------------------------------------------