This commit is contained in:
Glenn Jocher 2019-07-26 23:55:11 +02:00
parent c413aaefea
commit dfed4a6425
1 changed files with 1 additions and 1 deletions

View File

@ -606,7 +606,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 0.90 * x[:, 2] + 0.10 * x[:, 3] # fitness = 0.9 * mAP + 0.1 * F1 return 0.50 * x[:, 2] + 0.50 * x[:, 3] # fitness = 0.9 * mAP + 0.1 * F1
# Plotting functions --------------------------------------------------------------------------------------------------- # Plotting functions ---------------------------------------------------------------------------------------------------