Created
September 10, 2018 17:48
-
-
Save CaptainAshis/5b30af5eda0c1cd284dec0ddff1d0867 to your computer and use it in GitHub Desktop.
tta_predict fastai
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
log_preds, y = learn.TTA() | |
probs = np.mean(np.exp(log_preds),0) | |
accuracy_np(probs, y), metrics.log_loss(y, probs) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment