Closed hugo-rddi closed 1 year ago
Hi,
did you parse the label explicitly into int ? int(np.argmax(y_target,
axis=1)[0])`
The base library (captum) is unfortunately pretty strict with that. Really appreciate your feedback, it really helps us to improve the library. I will add some preprocessing for that in the next release. So that others do not run into the same issues.
I added some preprocessing that should solve it:
pip install https://github.com/fzi-forschungszentrum-informatik/TSInterpret/archive/refs/heads/main.zip
As soon as I have additional time I will also improve the error handeling (I know there is still a lot to do ;)).
Again you were right ! Needed to be strictly casted as int. Thanks, have a nice day
Nice.
Hello, Some errors are occurring during TSR execution. We tried different configurations (tried the different saliency methods available, FO, IG, SVS, ...).
Context:
The following cell worked.
But this one didn't :
Error :
Any idea what can be the problem here ? Model, train_x, labels and so on are not the origin of the problem given the fact that they respect the same format as expected and worked in NativeGuide execution.
Thanks in advance !