testing.py 186 B

1234567
  1. from utils.training import evaluate_accuracy
  2. def test_model(model, test_loader, config):
  3. accuracy, predictions, actual = evaluate_accuracy(model, test_loader)
  4. return accuracy