Ayush Chaurasia commited on
Commit
96d8f86
·
unverified ·
1 Parent(s): 51f7750

W&B: don't log media in evolve (#6617)

Browse files
Files changed (1) hide show
  1. utils/loggers/wandb/wandb_utils.py +2 -0
utils/loggers/wandb/wandb_utils.py CHANGED
@@ -252,6 +252,8 @@ class WandbLogger():
252
  self.map_val_table_path()
253
  if opt.bbox_interval == -1:
254
  self.bbox_interval = opt.bbox_interval = (opt.epochs // 10) if opt.epochs > 10 else 1
 
 
255
  train_from_artifact = self.train_artifact_path is not None and self.val_artifact_path is not None
256
  # Update the the data_dict to point to local artifacts dir
257
  if train_from_artifact:
 
252
  self.map_val_table_path()
253
  if opt.bbox_interval == -1:
254
  self.bbox_interval = opt.bbox_interval = (opt.epochs // 10) if opt.epochs > 10 else 1
255
+ if opt.evolve:
256
+ self.bbox_interval = opt.bbox_interval = opt.epochs + 1
257
  train_from_artifact = self.train_artifact_path is not None and self.val_artifact_path is not None
258
  # Update the the data_dict to point to local artifacts dir
259
  if train_from_artifact: