Skip to content

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

@arunsubk

Description

@arunsubk

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions