Skip to content

Instantly share code, notes, and snippets.

@surmenok
Last active February 19, 2018 04:26
Show Gist options
  • Save surmenok/326fe91fff1246a1fad2456167c2149a to your computer and use it in GitHub Desktop.
Save surmenok/326fe91fff1246a1fad2456167c2149a to your computer and use it in GitHub Desktop.
log_preds,y = learn.predict_with_targs()
preds = np.exp(log_preds)
pred_labels = np.argmax(preds, axis=1)
results = ImageModelResults(data.val_ds, log_preds)
results.plot_most_incorrect(1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment