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

ans = self.domain_mapper.map_exp_ids(self.local_exp[label_to_use], **kwargs) KeyError: 1 #735

Open
Drjacky opened this issue Dec 20, 2023 · 0 comments

Comments

@Drjacky
Copy link

Drjacky commented Dec 20, 2023

My input value: Log.e("t","api_key="123"); val tt = "ddd"

main.py", line 139, in show_reason_binary
word_list = str(exp.as_list())
                   ^^^^^^^^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/lime/explanation.py", line 141, in as_list
    ans = self.domain_mapper.map_exp_ids(self.local_exp[label_to_use], **kwargs)
                                         ~~~~~~~~~~~~~~^^^^^^^^^^^^^^
KeyError: 1

Version: 0.2.0.1
Location: /opt/homebrew/lib/python3.11/site-packages

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