This commit is contained in:
Glenn Jocher 2019-07-25 13:51:55 +02:00
parent 666d772fa7
commit df4f25e610
1 changed files with 1 additions and 1 deletions

View File

@ -340,7 +340,7 @@ def print_mutation(hyp, results):
def fitness(x): # returns fitness of hyp evolution vectors def fitness(x): # returns fitness of hyp evolution vectors
return x[:, 2] * 0.5 + x[:, 3] * 0.5 # fitness = weighted combination of mAP and F1 return 0.5 * x[:, 2] + 0.5 * x[:, 3] # fitness = 0.5 * mAP + 0.5 * F1
if __name__ == '__main__': if __name__ == '__main__':