updates
This commit is contained in:
parent
10b080d90c
commit
f270269d43
|
@ -674,7 +674,7 @@ def kmeans_targets(path='../coco/trainvalno5k.txt', n=9, img_size=416): # from
|
||||||
def print_mutation(hyp, results, bucket=''):
|
def print_mutation(hyp, results, bucket=''):
|
||||||
# Print mutation results to evolve.txt (for use with train.py --evolve)
|
# Print mutation results to evolve.txt (for use with train.py --evolve)
|
||||||
a = '%10s' * len(hyp) % tuple(hyp.keys()) # hyperparam keys
|
a = '%10s' * len(hyp) % tuple(hyp.keys()) # hyperparam keys
|
||||||
b = '%10.3g' * len(hyp) % tuple(hyp.values()) # hyperparam values
|
b = '%10.5g' * len(hyp) % tuple(hyp.values()) # hyperparam values
|
||||||
c = '%10.3g' * len(results) % results # results (P, R, mAP, F1, test_loss)
|
c = '%10.3g' * len(results) % results # results (P, R, mAP, F1, test_loss)
|
||||||
print('\n%s\n%s\nEvolved fitness: %s\n' % (a, b, c))
|
print('\n%s\n%s\nEvolved fitness: %s\n' % (a, b, c))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue