Flush callbacks when on --evolve (#6374)

* log best.pt metrics at train end

* update

* Update __init__.py

* flush callbacks when using evolve

Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
Ayush ChaurasiaandGlenn Jocher authored and GitHub committed 2022-01-20 13:22:47 -10:00
1 parent e1893c894a
commit 9bcc32a5bf
2 files changed
+2 -5

No files matched your search

+1 -1
View File
@@ -612,7 +612,7 @@ def main(opt, callbacks=Callbacks()):
# Train mutation
results = train(hyp.copy(), opt, device, callbacks)
callbacks = Callbacks()
# Write mutation results
print_mutation(results, hyp.copy(), save_dir, opt.bucket)