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

pull/6613/head
Ayush Chaurasia 2022-02-12 17:34:50 +05:30 committed by GitHub
parent 51f7750aad
commit 96d8f86085
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -252,6 +252,8 @@ class WandbLogger():
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: