Skip to content

Fixing a bug in Captum Recipe #1006

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

mandrulevicius
Copy link

In the Pytorch Recipe, MODEL INTERPRETABILITY USING CAPTUM there is a following bug:

In the following line of code, the comma after the brackets is interpreted as an additional array dimension, causing an assert error when passed to the viz.visualize_image_attr_multiple() function.

vis_signs = ["all", "all"],

Removing the comma solves the issue.

In the Pytorch Recipe, MODEL INTERPRETABILITY USING CAPTUM there is a following bug:

In the following line of code, the comma after the brackets is interpreted as an additional array dimension, causing an assert error when passed to the viz.visualize_image_attr_multiple() function.

vis_signs = ["all", "all"],

Removing the comma solves the issue.
@netlify
Copy link

netlify bot commented May 29, 2020

Deploy preview for pytorch-tutorials-preview ready!

Built with commit 40f6fff

https://deploy-preview-1006--pytorch-tutorials-preview.netlify.app

@brianjo brianjo requested a review from orionr May 29, 2020 20:48
jjxxmiin pushed a commit to jjxxmiin/PyTorch-tutorials-kr that referenced this pull request Aug 5, 2020
- Trans captum post, index list
- Fix code pytorch/tutorials#1006

TODO
- Trimming..
Base automatically changed from master to main February 16, 2021 19:33
Base automatically changed from main to master February 16, 2021 19:37
@holly1238
Copy link
Contributor

Closing this PR. This issue was fixed and merged in #1271.

@holly1238 holly1238 closed this Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants