summaryrefslogtreecommitdiff
path: root/training/callbacks/wandb_callbacks.py
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-06-09 22:35:04 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-06-09 22:35:04 +0200
commit4c7f720fe42278ec27e87bb1c3d5fcc6f1f822c2 (patch)
tree5618a99f310981ab01c464bc8605c09abe26bba9 /training/callbacks/wandb_callbacks.py
parent9353a39a18d0542afc177cd134f33f0756820a7d (diff)
Use predict in log text callback
Diffstat (limited to 'training/callbacks/wandb_callbacks.py')
-rw-r--r--training/callbacks/wandb_callbacks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/training/callbacks/wandb_callbacks.py b/training/callbacks/wandb_callbacks.py
index c9d50d5..f98cfa5 100644
--- a/training/callbacks/wandb_callbacks.py
+++ b/training/callbacks/wandb_callbacks.py
@@ -107,7 +107,7 @@ class LogTextPredictions(Callback):
imgs, labels = samples
imgs = imgs.to(device=pl_module.device)
- logits = pl_module(imgs)
+ logits = pl_module.predict(imgs)
mapping = pl_module.mapping
data = [