Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
temp_1, mask_1 = explanation.get_image_and_mask(explanation.top_labels[0], positive_only=True, num_features=5, hide_rest=True)
temp_2, mask_2 = explanation.get_image_and_mask(explanation.top_labels[0], positive_only=False, num_features=10, hide_rest=False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment