From 51e907c14deb43969e3c635df79bb20dcf1e81bb Mon Sep 17 00:00:00 2001 From: Ayush Chaurasia Date: Sat, 12 Feb 2022 17:34:50 +0530 Subject: [PATCH] W&B: don't log media in evolve (#6617) --- utils/loggers/wandb/wandb_utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/loggers/wandb/wandb_utils.py b/utils/loggers/wandb/wandb_utils.py index 6fe5dd71bc03..e97286876bbf 100644 --- a/utils/loggers/wandb/wandb_utils.py +++ b/utils/loggers/wandb/wandb_utils.py @@ -252,6 +252,8 @@ def setup_training(self, opt): self.map_val_table_path() if opt.bbox_interval == -1: self.bbox_interval = opt.bbox_interval = (opt.epochs // 10) if opt.epochs > 10 else 1 + if opt.evolve: + self.bbox_interval = opt.bbox_interval = opt.epochs + 1 train_from_artifact = self.train_artifact_path is not None and self.val_artifact_path is not None # Update the the data_dict to point to local artifacts dir if train_from_artifact: