瀏覽代碼

W&B logging bug fix (#1399)

5.0
Glenn Jocher 3 年之前
父節點
當前提交
412b113ac6
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      test.py

+ 1
- 1
test.py 查看文件

@@ -221,7 +221,7 @@ def test(data,
nt = torch.zeros(1)

# W&B logging
if plots and wandb:
if plots and wandb and wandb.run:
wandb.log({"Images": wandb_images})
wandb.log({"Validation": [wandb.Image(str(x), caption=x.name) for x in sorted(save_dir.glob('test*.jpg'))]})


Loading…
取消
儲存