We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f47302 commit 2825598Copy full SHA for 2825598
mmdet/core/hook/wandblogger_hook.py
@@ -566,10 +566,12 @@ def _log_data_table(self):
566
data_artifact = self.wandb.Artifact('val', type='dataset')
567
data_artifact.add(self.data_table, 'val_data')
568
569
- self.wandb.run.use_artifact(data_artifact)
570
- data_artifact.wait()
571
-
572
- self.data_table_ref = data_artifact.get('val_data')
+ if not self.wandb.run.offline:
+ self.wandb.run.use_artifact(data_artifact)
+ data_artifact.wait()
+ self.data_table_ref = data_artifact.get('val_data')
573
+ else:
574
+ self.data_table_ref = self.data_table
575
576
def _log_eval_table(self, idx):
577
"""Log the W&B Tables for model evaluation.
0 commit comments