Quellcode durchsuchen

W&B logging bug fix (#1399)

5.0
Glenn Jocher vor 3 Jahren
Ursprung
Commit
412b113ac6
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. +1
    -1
      test.py

+ 1
- 1
test.py Datei anzeigen

@@ -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'))]})


Laden…
Abbrechen
Speichern