mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-09 11:32:07 +08:00
remove summary
This commit is contained in:
+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)
|
||||
y_hat = trained_model(x, 0)
|
||||
|
||||
# acc
|
||||
labels_hat = torch.argmax(y_hat, dim=1)
|
||||
|
||||
Reference in New Issue
Block a user