mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-29 13:30:57 +08:00
remove summary
This commit is contained in:
1 parent
28b68503bc
commit
486a841dab
1 file changed
+1
-1
+1
-1
@@ -159,7 +159,7 @@ def run_prediction(dataloader, trained_model, dp=False, min_acc=0.50):
|
||||
acc = torch.mean(acc).item()
|
||||
|
||||
else:
|
||||
y_hat = trained_model(x, 0)
|
||||
y_hat = trained_model(x)
|
||||
|
||||
# acc
|
||||
labels_hat = torch.argmax(y_hat, dim=1)
|
||||
|
||||
Reference in new issue
Block a user