Skip to content

Commit

Permalink
W&B: don't log media in evolve (ultralytics#6617)
Browse files Browse the repository at this point in the history
  • Loading branch information
AyushExel committed Feb 12, 2022
1 parent 8a70903 commit 51e907c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils/loggers/wandb/wandb_utils.py
Expand Up @@ -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:
Expand Down

0 comments on commit 51e907c

Please sign in to comment.