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

In Examples_pytorch.ipynb file unable to find XRAI mask for other classes by replacing call_model_args #90

Open
arunsubk opened this issue Feb 13, 2023 · 0 comments

Comments

@arunsubk
Copy link

arunsubk commented Feb 13, 2023

Hi,

Firstly thanks for this great repo.

In the Examples_pytorch.ipynb file, If i change call_model_args = {class_idx_str: prediction_class}
to call_model_args = {class_idx_str: <ANY_OTHER_CLASS>} XRAI mask still remains that of Doberman (i.e. class 236). What do I do to see the visualization of any other class in the Doberman image? I had for instance set ANY_OTHER_CLASS to 562 (fountain) and was hoping to see difference gradient image of the class. But I still see the Doberman.

Could you please help?
Thanks,

@arunsubk arunsubk changed the title In Examples_pytorch.ipynb file In Examples_pytorch.ipynb file unable to find XRAI mask for other classes by replacing call_model_args Feb 13, 2023
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

1 participant