Skip to content

Instantly share code, notes, and snippets.

@surmenok
Last active February 24, 2018 21:35
Show Gist options
  • Save surmenok/e320a4b5d89c37395d90d3472c612ca8 to your computer and use it in GitHub Desktop.
Save surmenok/e320a4b5d89c37395d90d3472c612ca8 to your computer and use it in GitHub Desktop.
log_preds,_ = learn.TTA(n_aug=20, is_test=True)
preds = np.mean(np.exp(log_preds),0)
accuracy_np(preds, y_true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment