-
## ❓ Questions and Help
Hey all,
I'm trying to apply DeepLift on a custom VGG16, but getting an IndexError. Does somebody have an Idea how to fix it?
### Reproduce
```
class CustomVGGNet(nn.Mod…
-
https://github.com/pytorch/captum/blob/43acfcd320c44e8e469bf5276af9d55cf62145aa/captum/attr/_core/guided_grad_cam.py#L211
If I understand corretly, the parameter here should be:
inputs[i].shape[1…
-
## 🐛 TracIn doesn't support GPU
I'm using `TracInCPFast`, providing it with a model that's placed on the gpu, but during inference calculation of the `TracInCPFast.influence()` function, there's …
-
I want to use LRP to explain Unet model, but raise TypeError as follow,
```python
TypeError: Module type is not supported.No default rule defined.
```
In addition, raise same error when using `nn…
-
## ❓ Questions and Help
Hello! I am trying to learn about about Captum and how to use it. I am trying to use some of the Captum model interpretation tools such as Integrated Gradients (and eventu…
-
From the paper:
> To better understand what sequence elements Enformer is utilizing when making predictions, we computed two different gene expression contribution scores — input gradients (gradient …
-
### Issue Description
`AssertionError: The SHAP explanations do not sum up to the model's output! This is either because of a rounding error or because an operator in your computation graph was not f…
-
## ❓ Questions and Help
Saving images from captum is somewhat difficult.
When I call `fig,ax = viz.visualize_image_attr` I get a figure and an axis in return. The problem is that the function call…
-
https://github.com/nfelnlp/thermostat/blob/a8180a2d83e1c3ec5f873dbf0ce0ab14026cf6bf/src/thermostat/explain.py#L54
```
def bert_forward(input_ids, attention_mask, token_type_ids):
…
-
See what initial layers of the models 'see'.
Use pretraining techniques that help them to see better.