Skip to content

Commit

Permalink
Added eval()
Browse files Browse the repository at this point in the history
  • Loading branch information
Spijkervet committed Sep 22, 2020
1 parent cd28fd8 commit 654f05f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions testing/logistic_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ def test(args, loader, simclr_model, model, criterion, optimizer):
)
simclr_model.load_state_dict(torch.load(model_fp, map_location=args.device.type))
simclr_model = simclr_model.to(args.device)
simclr_model.eval()


## Logistic Regression
Expand Down

0 comments on commit 654f05f

Please sign in to comment.