Skip to content
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

Adding the Latent Shift attribution method #1024

Open
wants to merge 72 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 59 commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
32b38e0
Add Latent Shift
ieee8023 Sep 6, 2022
0e57fe4
video
ieee8023 Sep 6, 2022
7c5025c
align text
ieee8023 Sep 6, 2022
3a89340
cleanup
ieee8023 Sep 11, 2022
d0c833a
clean up docs
ieee8023 Sep 11, 2022
4dc25bf
add support for colab version
ieee8023 Sep 11, 2022
12e78d3
cleanup
ieee8023 Sep 11, 2022
2cf44ba
add more docs
ieee8023 Sep 11, 2022
0a74565
Merge branch 'master' into master
ieee8023 Sep 11, 2022
0ceb34e
cleanup format and add test
ieee8023 Sep 11, 2022
9043790
more cleanup
ieee8023 Sep 11, 2022
2963ae5
cleanup and add more docs
ieee8023 Sep 11, 2022
d4320d2
fix flake8 errors
ieee8023 Sep 11, 2022
a039159
fixing flake8 for real
ieee8023 Sep 11, 2022
907d2d7
fix format and add opion to limit printing
ieee8023 Sep 11, 2022
01bb3b2
fix type error
ieee8023 Sep 11, 2022
222128e
flake8
ieee8023 Sep 11, 2022
4c588b9
autopep8
ieee8023 Sep 12, 2022
c1dd756
make mypy happy
ieee8023 Sep 12, 2022
77963d8
ufmt format
ieee8023 Sep 12, 2022
b0a08d7
I really think flake8 will pass now
ieee8023 Sep 12, 2022
8432ff3
match reference to other references
ieee8023 Sep 12, 2022
5597155
small change to kick off tests again
ieee8023 Sep 14, 2022
5407086
Merge branch 'master' into master
ieee8023 Sep 15, 2022
9b5272e
Merge branch 'master' into master
ieee8023 Sep 21, 2022
7a19759
Merge branch 'master' into master
ieee8023 Oct 9, 2022
7d64a75
Merge branch 'master' into master
ieee8023 Oct 19, 2022
e245cde
Merge branch 'master' into master
ieee8023 Oct 22, 2022
7245048
Merge branch 'master' into master
ieee8023 Nov 4, 2022
03fe557
Merge branch 'master' into master
ieee8023 Nov 8, 2022
298c9e8
add options for extra loops and the cmap value
ieee8023 Nov 20, 2022
04f16ca
Merge branch 'master' into master
ieee8023 Nov 20, 2022
3d6f842
fix flake8
ieee8023 Nov 21, 2022
17bc3af
Add Latent Shift
ieee8023 Sep 6, 2022
7615dcc
video
ieee8023 Sep 6, 2022
558b429
align text
ieee8023 Sep 6, 2022
430888e
cleanup
ieee8023 Sep 11, 2022
bf434a9
clean up docs
ieee8023 Sep 11, 2022
96e8b42
add support for colab version
ieee8023 Sep 11, 2022
34f48f6
cleanup
ieee8023 Sep 11, 2022
554db30
add more docs
ieee8023 Sep 11, 2022
cefc673
cleanup format and add test
ieee8023 Sep 11, 2022
42c2c36
more cleanup
ieee8023 Sep 11, 2022
77c574b
cleanup and add more docs
ieee8023 Sep 11, 2022
8aa3fec
fix flake8 errors
ieee8023 Sep 11, 2022
90ffd8e
fixing flake8 for real
ieee8023 Sep 11, 2022
67a576c
fix format and add opion to limit printing
ieee8023 Sep 11, 2022
2a9cab7
fix type error
ieee8023 Sep 11, 2022
a0f156a
flake8
ieee8023 Sep 11, 2022
435bee8
autopep8
ieee8023 Sep 12, 2022
2f618ff
make mypy happy
ieee8023 Sep 12, 2022
3f9bbdd
ufmt format
ieee8023 Sep 12, 2022
cec2237
I really think flake8 will pass now
ieee8023 Sep 12, 2022
b387097
match reference to other references
ieee8023 Sep 12, 2022
29951a0
small change to kick off tests again
ieee8023 Sep 14, 2022
653a67a
add options for extra loops and the cmap value
ieee8023 Nov 20, 2022
2292efa
fix flake8
ieee8023 Nov 21, 2022
390fee0
Merge branch 'master' of github.com:ieee8023/captum
ieee8023 Jan 12, 2023
74af5c8
refactor image writing
ieee8023 Feb 19, 2023
e9196ed
refactor for batches and just returning heatmaps
ieee8023 Mar 28, 2023
8a24e9b
pep8
ieee8023 Mar 28, 2023
f873da3
ufmt
ieee8023 Mar 28, 2023
92e93a7
format errors
ieee8023 Mar 28, 2023
8f9d8a2
fix typing
ieee8023 Mar 28, 2023
7779497
reduce string length
ieee8023 Mar 28, 2023
cd2c2f5
remove usage of torchvision in tests
ieee8023 Mar 29, 2023
6855d55
Merge branch 'master' into master
ieee8023 Apr 24, 2023
10a43c0
add sigmoid param
ieee8023 May 5, 2023
1d8e9dd
Merge branch 'master' of github.com:ieee8023/captum
ieee8023 May 5, 2023
c0dfdfb
Merge branch 'master' into master
ieee8023 May 24, 2023
4eb4c6d
Merge branch 'master' into master
ieee8023 Jun 10, 2023
d63a803
Merge branch 'master' into master
ieee8023 Aug 7, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions captum/attr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from captum.attr._core.input_x_gradient import InputXGradient # noqa
from captum.attr._core.integrated_gradients import IntegratedGradients # noqa
from captum.attr._core.kernel_shap import KernelShap # noqa
from captum.attr._core.latent_shift import LatentShift # noqa
from captum.attr._core.layer.grad_cam import LayerGradCam # noqa
from captum.attr._core.layer.internal_influence import InternalInfluence # noqa
from captum.attr._core.layer.layer_activation import LayerActivation # noqa
Expand Down Expand Up @@ -140,4 +141,5 @@
"Max",
"Sum",
"Count",
"LatentShift",
]
Loading