Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created November 22, 2020 06:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/e11d3607ab07f1e5a197288bbf79606f to your computer and use it in GitHub Desktop.
Save amankharwal/e11d3607ab07f1e5a197288bbf79606f to your computer and use it in GitHub Desktop.
interp = ClassificationInterpretation.from_learner(learn)
interp.plot_confusion_matrix()
img = open_image('IM-0001-0001.jpeg')
print(learn.predict(img)[0])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment