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

Target multi-input examples to specific neutrons for correct/incorrect outputs #40

Open
cap76 opened this issue Mar 20, 2019 · 1 comment

Comments

@cap76
Copy link

cap76 commented Mar 20, 2019

Hi, I'm wondering if the multi-input attribution models can be targeted to specific neutrons for e.g., correct/incorrect class. In the single input models you can specify a ys=ys, but in the examples for the multi-input models, this doesn't appear to be the case, and throws an error. Am I missing something obvious :S

@marcoancona
Copy link
Owner

Could you please report the error and the code that you are using?
Notice that instead of passing ys you can mask the target tensor directly (eg. target = original_target * ys)... maybe this help in your case.

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

No branches or pull requests

2 participants