W&B: don't log media in evolve (#6617)
This commit is contained in:
parent
51f7750aad
commit
96d8f86085
|
|
@ -252,6 +252,8 @@ class WandbLogger():
|
||||||
self.map_val_table_path()
|
self.map_val_table_path()
|
||||||
if opt.bbox_interval == -1:
|
if opt.bbox_interval == -1:
|
||||||
self.bbox_interval = opt.bbox_interval = (opt.epochs // 10) if opt.epochs > 10 else 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
|
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
|
# Update the the data_dict to point to local artifacts dir
|
||||||
if train_from_artifact:
|
if train_from_artifact:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue