Closed MarxAC closed 4 years ago
Thank you for the question, @MarxAC ! Are you able to call : NETWORK(X_test) ? what is the shape of output: NETWORK(X_test)
?
@MarxAC, do you have any outstanding questions right now ? If not, can we, please, close this issue ?
Hi, I found a recommendation for Captum and started trying it out, it worked great on basic models, but when I run it on one of my larger deep feedforward sequential models I get the error below. I have preformed various sensitivity analyses (that use matmul) on the model (NETWORK) with the input (X_test) so the error doesn't make sense to me. Any suggestions would be appreciated.
ig = IntegratedGradients(NETWORK) ig_attr = ig.attribute(X_test, target=0)
Error: torch\nn\functional.py", line 1676, in linear output = input.matmul(weight.t()) RuntimeError: mat1 dim 1 must match mat2 dim 0