* log best.pt metrics at train end * update * Update __init__.py Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>modifyDataloader
@@ -147,6 +147,7 @@ class Loggers(): | |||
self.tb.add_image(f.stem, cv2.imread(str(f))[..., ::-1], epoch, dataformats='HWC') | |||
if self.wandb: | |||
self.wandb.log({k: v for k, v in zip(self.keys[3:10], results)}) # log best.pt val results | |||
self.wandb.log({"Results": [wandb.Image(str(f), caption=f.name) for f in files]}) | |||
# Calling wandb.log. TODO: Refactor this into WandbLogger.log_model | |||
if not self.opt.evolve: |